Merged in bugfix/PMCORE-4097 (pull request #8685)
PMCORE-4097 Approved-by: Julio Cesar Laura Avendaño
This commit is contained in:
@@ -430,7 +430,7 @@ class InputFilter
|
|||||||
if (is_array($input)) {
|
if (is_array($input)) {
|
||||||
if (count($input)) {
|
if (count($input)) {
|
||||||
foreach ($input as $i => $val) {
|
foreach ($input as $i => $val) {
|
||||||
if (is_array($val) || is_object($val) && count($val)) {
|
if (is_array($val) || is_object($val) && is_countable($val) && count($val)) {
|
||||||
$input[$i] = $this->xssFilterHard($val);
|
$input[$i] = $this->xssFilterHard($val);
|
||||||
} else {
|
} else {
|
||||||
if (!empty($val)) {
|
if (!empty($val)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user