mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix status of website
This commit is contained in:
parent
c545b98a24
commit
2190dcc9f7
|
|
@ -2807,7 +2807,7 @@ if (!GETPOST('hide_websitemenu')) {
|
|||
$atleastonepage = (is_array($array) && count($array) > 0);
|
||||
|
||||
$websitepage = new WebSitePage($db);
|
||||
if ($pageid > 0 && ($action == 'preview' || $action == 'createfromclone' || $action == 'createpagefromclone')) {
|
||||
if ($pageid > 0) {
|
||||
$websitepage->fetch($pageid);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user