Debug v21

This commit is contained in:
Laurent Destailleur (aka Eldy) 2025-01-12 18:19:32 +01:00
parent 3ab49cf061
commit 4bdbf05eb7

View file

@ -202,7 +202,7 @@ function dolSavePageContent($filetpl, Website $object, WebsitePage $objectpage,
$tplcontent .= '<meta name="dolibarr:pageid" content="'.dol_string_nohtmltag((string) $objectpage->id).'" />'."\n";
// Add favicon
if ($objectpage->id == $object->fk_default_home) {
if (in_array($objectpage->type_container, array('page', 'blogpost'))) {
$tplcontent .= '<link rel="icon" type="image/png" href="/favicon.png" />'."\n";
}