diff --git a/e107_handlers/e_parse_class.php b/e107_handlers/e_parse_class.php index e10819b93..46c6ebce4 100644 --- a/e107_handlers/e_parse_class.php +++ b/e107_handlers/e_parse_class.php @@ -789,7 +789,7 @@ class e_parse extends e_parser $search = array('$', '"', '<', '>'); $replace = array('$', '"', '<', '>'); $text = str_replace($search, $replace, $text); - if (e107::wysiwyg() !== true) + if (e107::wysiwyg() !== true && is_string($text)) { // fix for utf-8 issue with html_entity_decode(); ??? $text = urldecode($text); diff --git a/e107_handlers/form_handler.php b/e107_handlers/form_handler.php index e70b7ff51..b3f83ab1e 100644 --- a/e107_handlers/form_handler.php +++ b/e107_handlers/form_handler.php @@ -2797,7 +2797,9 @@ class e_form /** * Render a Breadcrumb in Bootstrap format. - * @param $array + * @param $array + * @param $array[url] + * @param $array[text] */ function breadcrumb($array) {