summaryrefslogtreecommitdiff
path: root/webgli
diff options
context:
space:
mode:
authorAndrew Gaffney <agaffney@gentoo.org>2006-04-16 02:40:23 +0000
committerAndrew Gaffney <agaffney@gentoo.org>2006-04-16 02:40:23 +0000
commit0c1c2a333edc09a3286895d7876f76604438a202 (patch)
tree9c0a33738f24c9fa19cfaf6b560b390c62ae29c1 /webgli
parentremove unused filesystem_tools var (diff)
downloadscire-0c1c2a333edc09a3286895d7876f76604438a202.tar.gz
scire-0c1c2a333edc09a3286895d7876f76604438a202.tar.bz2
scire-0c1c2a333edc09a3286895d7876f76604438a202.zip
skip value if there's no matching xml path
svn path=/; revision=31
Diffstat (limited to 'webgli')
-rw-r--r--webgli/webgliIP.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/webgli/webgliIP.php b/webgli/webgliIP.php
index 021ab98..3cfb657 100644
--- a/webgli/webgliIP.php
+++ b/webgli/webgliIP.php
@@ -125,6 +125,7 @@ class InstallProfile extends XMLParser {
if($value['serialize_func']) {
call_user_func(array($this, $value['serialize_func']));
} else {
+ $xmlname = "";
foreach($this->xmlpaths as $xmlpath => $valname) {
if($name == $valname) {
$tmpxmlpath = explode("/", $xmlpath);
@@ -132,6 +133,7 @@ class InstallProfile extends XMLParser {
break;
}
}
+ if(!$xmlname) continue;
$data = $this->get($name);
if($data) {
switch($value['type']) {