diff --git a/htdocs/website/index.php b/htdocs/website/index.php index 8db219b65e2..89528c10b91 100644 --- a/htdocs/website/index.php +++ b/htdocs/website/index.php @@ -2060,6 +2060,10 @@ if ($action == 'editmeta' || $action == 'createcontainer') $pagelang=$objectpage->lang; $pagehtmlheader=$objectpage->htmlheader; } + else + { + $type_container = 'page'; + } if (GETPOST('WEBSITE_TITLE','alpha')) $pagetitle=GETPOST('WEBSITE_TITLE','alpha'); if (GETPOST('WEBSITE_PAGENAME','alpha')) $pageurl=GETPOST('WEBSITE_PAGENAME','alpha'); if (GETPOST('WEBSITE_ALIASALT','alpha')) $pagealiasalt=GETPOST('WEBSITE_ALIASALT','alpha'); @@ -2129,7 +2133,7 @@ if ($action == 'editmeta' || $action == 'createcontainer') print $form->textwithpicto($langs->trans('HtmlHeaderPage'), $htmlhelp, 1, 'help', '', 0, 2, 'htmlheadertooltip'); print '