יחידה:ParamValidator: הבדלים בין גרסאות בדף
תוכן שנמחק תוכן שנוסף
undetected bug in "compatible": it would return false for empty values. only "required" is allowed to create violation for declared parameter with empty value |
formatting |
||
שורה 106:
function compatible( val, typ )
if not typ or empty( val ) then return true
--
end
return true
|