Fix: when cloning a website page, the page has the status draft.
This commit is contained in:
parent
e9aab2188e
commit
d91db3fe55
@ -725,6 +725,7 @@ class WebsitePage extends CommonObject
|
||||
$object->fk_website = $newwebsite;
|
||||
}
|
||||
$object->import_key = '';
|
||||
$object->status = self::STATUS_DRAFT;
|
||||
|
||||
// Create clone
|
||||
$object->context['createfromclone'] = 'createfromclone';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user