diff options
author | Manuel Munz <freifunk@somakoma.de> | 2012-04-13 18:12:34 +0000 |
---|---|---|
committer | Manuel Munz <freifunk@somakoma.de> | 2012-04-13 18:12:34 +0000 |
commit | 7fdb055265b7afad4ff1db8a9fb678cbbeb77a97 (patch) | |
tree | c721b1c45530de7ecca00898ca49bafd67f35b52 | |
parent | 3492cb5e3d2c78db5ebe6a967c7059fe1e560067 (diff) |
libs/datatypes: Fix typo
-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 |