Fix str_replace
This commit is contained in:
parent
d4c18c79fb
commit
15e3601336
@ -350,7 +350,7 @@ function dolWebsiteOutput($content, $contenttype = 'html', $containerid = '')
|
||||
}
|
||||
}
|
||||
|
||||
$content = str_replace(' contenteditable="true"', ' contenteditable="false"', $content, -1, $nbrep);
|
||||
$content = str_replace(' contenteditable="true"', ' contenteditable="false"', $content);
|
||||
|
||||
if (! empty($conf->global->WEBSITE_ADD_CSS_TO_BODY)) {
|
||||
$content = str_replace('<body id="bodywebsite" class="bodywebsite', '<body id="bodywebsite" class="bodywebsite '.$conf->global->WEBSITE_ADD_CSS_TO_BODY, $content);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user