Fix PHP warning when rep_specialchars_output() 1st argument is not a string (#1488643)

pull/22/merge
Aleksander Machniak 13 years ago
parent f7c11e862f
commit fa4bf4388b

@ -221,6 +221,10 @@ class rcube_utils
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) {

Loading…
Cancel
Save