libs/datatypes: Fix typo
authorManuel Munz <freifunk@somakoma.de>
Fri, 13 Apr 2012 18:12:34 +0000 (18:12 +0000)
committerManuel Munz <freifunk@somakoma.de>
Fri, 13 Apr 2012 18:12:34 +0000 (18:12 +0000)
libs/web/luasrc/cbi/datatypes.lua

index 87019c22508593098d19c7da6df8fc8c2eec866a..d3077f954c8f4c8a72e50d883e699fa556a5647b 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