Update WebLib - Template() Function - support passing NULL instead of the object.
@@ -162,9 +162,13 @@ Func Template cFile,oObject
cCode += "cResult += aList[" + len(aList) + "]" + nl
ok
end
+ if not isnull(oObject)
oObject {
eval(cCode)
}
+ else
+ eval(cCode)
+ ok
return cResult
Func Alert cMessage
