libs/datatypes: Fix typo
[project/luci.git] / libs / web / luasrc / cbi / datatypes.lua
index 87019c2..d3077f9 100644 (file)
@@ -306,6 +306,6 @@ function max(val, max)
        return false
 end
 
-function ponedigit(val)
+function phonedigit(val)
        return (val:match("^[0-9\*#]+$") ~= nil)
 end