root 6 years ago
parent
commit
0d87f18f7f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      library/Cube/View/Helper/Url.php

+ 1 - 1
library/Cube/View/Helper/Url.php

@@ -147,7 +147,7 @@ class Url extends AbstractHelper
 
         $string = str_replace(array_keys(self::$_charMap), self::$_charMap, $string);
 
-        $clean = iconv('UTF-8', 'ASCII//TRANSLIT', $string);
+        $clean = @iconv('UTF-8', 'ASCII//TRANSLIT', $string);
         $clean = preg_replace("/[^a-zA-Z0-9\/\_|+ -]/", '', $clean);
         $clean = strtolower(trim($clean));
         $clean = preg_replace("/[\/|+ -]+/", $delimiter, $clean);