diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-12-13 08:54:12 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-12-13 08:54:12 +0100 |
commit | 066e22874b6b54773ffedffb455f791b0ecadbd7 (patch) | |
tree | 4a39400efe64d07f409e3f084016f826a626da70 /program | |
parent | 8841810bce7446601a3d5cd8cd23d5ccdbbf99e7 (diff) |
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.
Diffstat (limited to 'program')
-rw-r--r-- | program/lib/Roundcube/rcube_charset.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/lib/Roundcube/rcube_charset.php b/program/lib/Roundcube/rcube_charset.php index c15c3ad55..3657626bd 100644 --- a/program/lib/Roundcube/rcube_charset.php +++ b/program/lib/Roundcube/rcube_charset.php @@ -273,7 +273,7 @@ class rcube_charset 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 @@ class rcube_charset 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"); } } |