diff options
Diffstat (limited to 'libs')
-rw-r--r-- | libs/web/luasrc/cbi/datatypes.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/web/luasrc/cbi/datatypes.lua b/libs/web/luasrc/cbi/datatypes.lua index 87019c225..d3077f954 100644 --- a/libs/web/luasrc/cbi/datatypes.lua +++ b/libs/web/luasrc/cbi/datatypes.lua @@ -306,6 +306,6 @@ function max(val, max) return false end -function ponedigit(val) +function phonedigit(val) return (val:match("^[0-9\*#]+$") ~= nil) end |