aboutsummaryrefslogtreecommitdiffstats
path: root/build/js/xml.js
diff options
context:
space:
mode:
Diffstat (limited to 'build/js/xml.js')
-rw-r--r--build/js/xml.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/js/xml.js b/build/js/xml.js
index cc94eb750..b2b09c608 100644
--- a/build/js/xml.js
+++ b/build/js/xml.js
@@ -9,7 +9,7 @@ Object.toXML = function( obj, tag ) {
var p = "", child = "";
for ( var i in obj )
- if ( obj[i].constructor == Array || /</.test(obj[i] + "") || Object.toXML.force[i] )
+ if ( obj[i].constructor != String || /</.test(obj[i] + "") || Object.toXML.force[i] )
child += Object.toXML( obj[i], i );
else
p += " " + i + "='" + (obj[i] + "").replace(/'/g, "&apos;") + "'";