duplicate check pageid

This commit is contained in:
Fred Tempez 2021-06-06 18:49:20 +02:00
parent 9ba4ae8574
commit 511083693f
1 changed files with 2 additions and 0 deletions

View File

@ -88,6 +88,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]