Fix: when cloning a website page, the page has the status draft.
This commit is contained in:
parent
e9aab2188e
commit
d91db3fe55
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue