From 57bb00a6a865fdd3351ea8f5f62cda47d578b690 Mon Sep 17 00:00:00 2001 From: PrestaEdit Date: Fri, 17 May 2013 00:52:39 +0200 Subject: [PATCH] [-] Class: Tools / link_rewrite(displayParameterAsDeprecated) --- classes/Tools.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/classes/Tools.php b/classes/Tools.php index 7fc55ca80..7a03d3969 100644 --- a/classes/Tools.php +++ b/classes/Tools.php @@ -958,11 +958,13 @@ class ToolsCore * Return the friendly url from the provided string * * @param string $str - * @param bool $utf8_decode => needs to be marked as deprecated + * @param bool $utf8_decode (deprecated) * @return string */ public static function link_rewrite($str, $utf8_decode = false) { + if ($utf8_decode !== null) + Tools::displayParameterAsDeprecated('utf8_decode'); return Tools::str2url($str); }