mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Issue #2057 Avoid messing with array values in toForm()
This commit is contained in:
@@ -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);
|
||||
|
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user