Aleksander Machniak
2012-09-17 fa4bf4388b00b6093df6c770b3db865cc1fa4f40
Fix PHP warning when rep_specialchars_output() 1st argument is not a string (#1488643)
1 files modified
4 ■■■■ changed files
program/include/rcube_utils.php 4 ●●●● patch | view | raw | blame | history
program/include/rcube_utils.php
@@ -221,6 +221,10 @@
        static $js_rep_table = false;
        static $xml_rep_table = false;
        if (!is_string($str)) {
            $str = strval($str);
        }
        // encode for HTML output
        if ($enctype == 'html') {
            if (!$html_encode_arr) {