mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-31 17:33:48 +00:00
Fix an error with trim on the xm handler.
This commit is contained in:
@@ -54,6 +54,7 @@
|
||||
|
||||
--add the trim function
|
||||
function trim(s)
|
||||
if (s == nil) then s = ''; end
|
||||
return s:gsub("^%s+", ""):gsub("%s+$", "")
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user