diff --git a/core/module/page/page.php b/core/module/page/page.php index c7d3ffdd..fa2bfcd1 100755 --- a/core/module/page/page.php +++ b/core/module/page/page.php @@ -164,7 +164,7 @@ class page extends common { $pageId = $this->getInput('pageEditTitle', helper::FILTER_ID, true); // un dossier existe du même nom (erreur en cas de redirection) if (file_exists($pageId)) { - $pageId = 'p-' . $pageId; + $pageId = uniqid($pageId . '-'); } // Si l'id a changée if ($pageId !== $this->getUrl(2)) { @@ -318,4 +318,4 @@ class page extends common { } } -} \ No newline at end of file +}