diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-01-19 14:47:05 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-01-19 14:47:05 +0000 |
| commit | 2c3bc3954ea48eedb59de2683135adcffd4676a8 (patch) | |
| tree | e3b8c22e61adeffeb6dfa22e7e802ccce1c1bbb9 /roundcubemail/program | |
| parent | f136ce52ddb12c9f21c53c7826e3ef3c5e057266 (diff) | |
- ignore json_encode() warnings
git-svn-id: https://svn.roundcube.net/trunk@3214 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program')
| -rw-r--r-- | roundcubemail/program/include/rcube_shared.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube_shared.inc b/roundcubemail/program/include/rcube_shared.inc index 99d8b16df..e93e9aefe 100644 --- a/roundcubemail/program/include/rcube_shared.inc +++ b/roundcubemail/program/include/rcube_shared.inc @@ -578,7 +578,9 @@ function json_serialize($input) { $input = rc_utf8_clean($input); - return json_encode($input); + // sometimes even using rc_utf8_clean() the input contains invalid UTF-8 sequences + // that's why we have @ here + return @json_encode($input); } |
