From a1df6891ffcbf04cc5c98094ccaf87136e78eadf Mon Sep 17 00:00:00 2001
From: Matthieu Marcillaud <marcimat@rezo.net>
Date: Fri, 14 Jan 2022 10:48:28 +0100
Subject: [PATCH] Rector sur ecrire/urls avec config PHP 7.4

---
 ecrire/urls/page.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ecrire/urls/page.php b/ecrire/urls/page.php
index 5e9ef59e69..7734437ab9 100644
--- a/ecrire/urls/page.php
+++ b/ecrire/urls/page.php
@@ -37,8 +37,8 @@ function _generer_url_page($type, $id, $args = '', $ancre = '') {
 		}
 	}
 
-	$url = _debut_urls_page . $type . _separateur_urls_page
-		. $id . _terminaison_urls_page;
+	$url = \_DEBUT_URLS_PAGE . $type . \_SEPARATEUR_URLS_PAGE
+		. $id . \_TERMINAISON_URLS_PAGE;
 
 	if ($args) {
 		$args = strpos($url, '?') ? "&$args" : "?$args";
-- 
GitLab