From bda11edee431051ed08d9c18822baa03d92dbca3 Mon Sep 17 00:00:00 2001 From: Cameron Date: Sat, 15 Dec 2012 16:31:57 -0800 Subject: [PATCH] Notice removal --- e107_handlers/xml_class.php | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/e107_handlers/xml_class.php b/e107_handlers/xml_class.php index cba96a362..998a5d3ae 100644 --- a/e107_handlers/xml_class.php +++ b/e107_handlers/xml_class.php @@ -620,12 +620,18 @@ class xmlClass { return $vars; } - - + foreach($this->arrayTags as $p) { - - list($vl,$sub) = explode("/",$p); + if(strpos($p,"/")!==false) + { + list($vl,$sub) = explode("/",$p); + } + else + { + $vl = $p; + $sub = false; + } if($sub) {