duplicate check pageid

This commit is contained in:
Fred Tempez 2021-06-06 18:49:50 +02:00
parent 3f48ab9e1e
commit 0828862c10

View File

@ -89,6 +89,8 @@ class page extends common {
// Duplication de la page
$pageTitle = $this->getData(['page',$url[0],'title']);
$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([
'page',
$url[0]