Test for array before using as array. Fixes #9611

This commit is contained in:
jim-p 2019-07-03 12:09:07 -04:00
parent 2c544ac61c
commit 40caec85cc

View File

@ -230,6 +230,10 @@ function dump_xml_config_sub($arr, $indent) {
global $listtags;
if (!is_array($arr)) {
return null;
}
$xmlconfig = "";
foreach ($arr as $ent => $val) {