Skip to content
Snippets Groups Projects
Commit b0753708 authored by Matthias Meusburger's avatar Matthias Meusburger
Browse files

dev #21441 :fix test (remove xdebug instruction)

parent 080efd20
5 merge requests!1132Hotline#29412 images des articles dans le resultat de recherche,!1120Master,!1069Dev#25302 add custom fields to sitos,!1055Dev#25302 add custom fields to sitos,!1054Dev#21441 add custom fields to sitos
......@@ -36,6 +36,7 @@ class Class_TextReplacements {
public function __construct() {
xdebug_break();
if (!$var_replacements = Class_AdminVar::get('TEXT_REPLACEMENTS'))
return $this;
......@@ -50,7 +51,6 @@ class Class_TextReplacements {
public function getReplacement($text) {
if (false !== strpos($text, 'Vous avez '))
foreach($this->_replacements as $search => $replace) {
if (false !== strpos($text, $search))
return str_replace($search, $replace, $text);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment