duplicate check pageid
This commit is contained in:
parent
3f48ab9e1e
commit
0828862c10
@ -89,6 +89,8 @@ class page extends common {
|
|||||||
// Duplication de la page
|
// Duplication de la page
|
||||||
$pageTitle = $this->getData(['page',$url[0],'title']);
|
$pageTitle = $this->getData(['page',$url[0],'title']);
|
||||||
$pageId = helper::increment(helper::filter($pageTitle, helper::FILTER_ID), $this->getData(['page']));
|
$pageId = helper::increment(helper::filter($pageTitle, helper::FILTER_ID), $this->getData(['page']));
|
||||||
|
$pageId = helper::increment($pageId, self::$coreModuleIds);
|
||||||
|
$pageId = helper::increment($pageId, self::$moduleIds);
|
||||||
$data = $this->getData([
|
$data = $this->getData([
|
||||||
'page',
|
'page',
|
||||||
$url[0]
|
$url[0]
|
||||||
|
Loading…
Reference in New Issue
Block a user