Skip to content

Commit

Permalink
Merge pull request #197 from samuele-mrapps/patch-1
Browse files Browse the repository at this point in the history
fix issue slugify method
  • Loading branch information
krispypen committed Mar 12, 2015
2 parents bdbec59 + 5ee7552 commit e9f6466
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Kunstmaan/UtilitiesBundle/Helper/Slugifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public static function slugify($text, $default = 'n-a', $replace = array("'"), $
$slugifier = new Slugifier();
$text = $slugifier->rus2translit($text);

$text = iconv('utf-8', 'us-ascii//TRANSLIT', $text);
$text = @iconv('utf-8', 'us-ascii//TRANSLIT', $text);
setlocale(LC_CTYPE, $previouslocale);
}

Expand Down

0 comments on commit e9f6466

Please sign in to comment.