summaryrefslogtreecommitdiffstats
path: root/etc/inc/xmlparse.inc
diff options
context:
space:
mode:
authorDarren Embry <dse@webonastick.com>2012-05-17 17:14:04 -0400
committerDarren Embry <dse@webonastick.com>2012-05-17 17:14:04 -0400
commitff9fbc7b3cc0d61837069681060cf8a8396f5b73 (patch)
tree9ae57c7c48c8a12531586123e67d77edf6531992 /etc/inc/xmlparse.inc
parent976d0213c11c54ddd88b8923047c59b86445ffd8 (diff)
downloadpfsense-ff9fbc7b3cc0d61837069681060cf8a8396f5b73.zip
pfsense-ff9fbc7b3cc0d61837069681060cf8a8396f5b73.tar.gz
fix 'XML error: no Array object found!' errors
Diffstat (limited to 'etc/inc/xmlparse.inc')
-rw-r--r--etc/inc/xmlparse.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/xmlparse.inc b/etc/inc/xmlparse.inc
index 49ebb0e..08058a8 100644
--- a/etc/inc/xmlparse.inc
+++ b/etc/inc/xmlparse.inc
@@ -195,7 +195,7 @@ function parse_xml_config_raw($cffile, $rootobj, $isstring = "false") {
break;
if (!$parsedcfg[$rootobj_name]) {
- log_error(sprintf(gettext("XML error: no %s object found!") . "\n", $rootobj));
+ log_error(sprintf(gettext("XML error: no %s object found!") . "\n", implode(" or ", $rootobj)));
return -1;
}
OpenPOWER on IntegriCloud