Browse Source

Fix an error with trim on the xm handler.

Mark Crane 12 years ago
parent
commit
607737e497
1 changed files with 1 additions and 0 deletions
  1. 1 0
      includes/install/scripts/xml_handler.lua

+ 1 - 0
includes/install/scripts/xml_handler.lua

@@ -54,6 +54,7 @@
 
 --add the trim function
 	function trim(s)
+		if (s == nil) then s = ''; end
 		return s:gsub("^%s+", ""):gsub("%s+$", "")
 	end