diff --git a/htdocs/core/lib/website.lib.php b/htdocs/core/lib/website.lib.php index 60016b2f2e9..b65dd813bfd 100644 --- a/htdocs/core/lib/website.lib.php +++ b/htdocs/core/lib/website.lib.php @@ -55,7 +55,7 @@ function dolStripPhpCode($str, $replacewith = '') //remove content before closing tag if (count($partlings) > 1) $partlings[0] = ''; // Todo why a count > 1 and not >= 1 ? //append to out string - $newstr .= ''.$replacewith.''.implode('', $partlings); + $newstr .= ''.$replacewith.''.implode('', $partlings); } } }