PMC-1395 Fatal error: Declaration of remove()

This commit is contained in:
Roly Rudy Gutierrez Pinto
2019-11-26 08:35:43 -04:00
parent 40bb7f17a7
commit edf16e4d0a
2 changed files with 3 additions and 3 deletions

View File

@@ -758,7 +758,7 @@ class headPublisher
$sjson = $oServerConf->getProperty($keyState);
if ($sjson !== "") {
$json = G::json_decode($sjson);
if ((is_array($json) || is_object($json)) && sizeof($json)){
if (is_iterable($json)) {
foreach ($json as $key => $value) {
$views[$key] = $value;
}