summaryrefslogtreecommitdiffhomepage
path: root/libs/web
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2012-04-13 18:12:34 +0000
committerManuel Munz <freifunk@somakoma.de>2012-04-13 18:12:34 +0000
commit7fdb055265b7afad4ff1db8a9fb678cbbeb77a97 (patch)
treec721b1c45530de7ecca00898ca49bafd67f35b52 /libs/web
parent3492cb5e3d2c78db5ebe6a967c7059fe1e560067 (diff)
libs/datatypes: Fix typo
Diffstat (limited to 'libs/web')
-rw-r--r--libs/web/luasrc/cbi/datatypes.lua2
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