|
@@ -844,6 +844,9 @@ class Helper
|
|
*/
|
|
*/
|
|
public static function htmlEntityEncode($item)
|
|
public static function htmlEntityEncode($item)
|
|
{
|
|
{
|
|
|
|
+ if (is_object($item)) {
|
|
|
|
+ return $item;
|
|
|
|
+ }
|
|
if (is_array($item)) {
|
|
if (is_array($item)) {
|
|
array_walk_recursive($item, function (&$value) {
|
|
array_walk_recursive($item, function (&$value) {
|
|
$value = htmlentities($value);
|
|
$value = htmlentities($value);
|