From 0828862c10b79824c123668c5ee14f56a2f908b0 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Sun, 6 Jun 2021 18:49:50 +0200 Subject: [PATCH] duplicate check pageid --- core/module/page/page.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/module/page/page.php b/core/module/page/page.php index d53117f7..0aca5216 100644 --- a/core/module/page/page.php +++ b/core/module/page/page.php @@ -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]