mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +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('$', '"', '<', '>');
|
$search = array('$', '"', '<', '>');
|
||||||
$replace = array('$', '"', '<', '>');
|
$replace = array('$', '"', '<', '>');
|
||||||
$text = str_replace($search, $replace, $text);
|
$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(); ???
|
// fix for utf-8 issue with html_entity_decode(); ???
|
||||||
$text = urldecode($text);
|
$text = urldecode($text);
|
||||||
|
@@ -2797,7 +2797,9 @@ class e_form
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Render a Breadcrumb in Bootstrap format.
|
* Render a Breadcrumb in Bootstrap format.
|
||||||
* @param $array
|
* @param $array
|
||||||
|
* @param $array[url]
|
||||||
|
* @param $array[text]
|
||||||
*/
|
*/
|
||||||
function breadcrumb($array)
|
function breadcrumb($array)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user