duplicate check pageid
This commit is contained in:
parent
9ba4ae8574
commit
511083693f
|
@ -88,6 +88,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