]> source.dussan.org Git - nextcloud-server.git/commitdiff
adding //IGNORE to iconv to prevent nasty php warnings
authorThomas Mueller <thomas.mueller@tmit.eu>
Tue, 12 Mar 2013 08:26:21 +0000 (09:26 +0100)
committerThomas Mueller <thomas.mueller@tmit.eu>
Tue, 12 Mar 2013 08:26:21 +0000 (09:26 +0100)
lib/files/mapper.php

index 418ef354f9c85e26966daf29daa7195c0523d1b4..d65726d68deb1e8882e86828941547333c633218 100644 (file)
@@ -210,7 +210,7 @@ class Mapper
 
                // transliterate
                if (function_exists('iconv')) {
-                       $text = iconv('utf-8', 'us-ascii//TRANSLIT', $text);
+                       $text = iconv('utf-8', 'us-ascii//TRANSLIT//IGNORE', $text);
                }
 
                // lowercase