From 066e22874b6b54773ffedffb455f791b0ecadbd7 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Sat, 13 Dec 2014 02:54:12 -0500
Subject: [PATCH] Don't log "No suitable function found for UTF-8..." as E_USER_WARNING.

---
 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 c15c3ad..3657626 100644
--- a/program/lib/Roundcube/rcube_charset.php
+++ b/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");
             }
         }
 

--
Gitblit v1.9.1