From f94d8b49f1b8659e75bf6cec607a5ce7c67831ee Mon Sep 17 00:00:00 2001 From: b_b <brunobergot@gmail.com> Date: Thu, 12 May 2011 15:17:00 +0000 Subject: [PATCH] =?UTF-8?q?entre=20parenth=C3=A8ses=20:=20ce=20n'est=20qu'?= =?UTF-8?q?un=20oups=20!=20(=C2=A9=20denisb)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ecrire/inc/utils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecrire/inc/utils.php b/ecrire/inc/utils.php index d85789f856..39248c8bf0 100644 --- a/ecrire/inc/utils.php +++ b/ecrire/inc/utils.php @@ -347,7 +347,7 @@ function ancre_url($url, $ancre) { } $ancre = preg_replace(array('/^[^-_a-zA-Z0-9]+/', '/[^-_a-zA-Z0-9]/'), array('', '-'), translitteration($ancre)); - return $url . strlen($ancre) ? '#'. $ancre : ''; + return $url . (strlen($ancre) ? '#'. $ancre : ''); } // -- GitLab