Aleksander Machniak
2014-12-13 066e22874b6b54773ffedffb455f791b0ecadbd7
Don't log "No suitable function found for UTF-8..." as E_USER_WARNING.

Use E_USER_NOTICE - this happens quite often as email messages
containing invalid charset name are not so rare.
1 files modified
4 ■■■■ changed files
program/lib/Roundcube/rcube_charset.php 4 ●●●● patch | view | raw | blame | history
program/lib/Roundcube/rcube_charset.php
@@ -273,7 +273,7 @@
                return utf8_encode($str);
            }
            else  {
                user_error("No suitable function found for UTF-8 encoding", E_USER_WARNING);
                trigger_error("No suitable function found for UTF-8 encoding");
            }
        }
@@ -289,7 +289,7 @@
                return utf8_decode($str);
            }
            else {
                user_error("No suitable function found for UTF-8 decoding", E_USER_WARNING);
                trigger_error("No suitable function found for UTF-8 decoding");
            }
        }