From ff9fbc7b3cc0d61837069681060cf8a8396f5b73 Mon Sep 17 00:00:00 2001 From: Darren Embry Date: Thu, 17 May 2012 17:14:04 -0400 Subject: fix 'XML error: no Array object found!' errors --- etc/inc/xmlparse.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc') 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; } -- cgit v1.1