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.
pull/251/head
Aleksander Machniak 10 years ago
parent 8841810bce
commit 066e22874b

@ -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");
}
}

Loading…
Cancel
Save