projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4622241
)
libs/web: fix type in datatypes.lua
author
Jo-Philipp Wich
<jow@openwrt.org>
Sat, 30 Oct 2010 18:18:18 +0000
(18:18 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Sat, 30 Oct 2010 18:18:18 +0000
(18:18 +0000)
libs/web/luasrc/cbi/datatypes.lua
patch
|
blob
|
history
diff --git
a/libs/web/luasrc/cbi/datatypes.lua
b/libs/web/luasrc/cbi/datatypes.lua
index a9aba95493930bd631b62a49c2c1019bc11c7be0..f8d81537793251f1d909931bb06c800818005b44 100644
(file)
--- a/
libs/web/luasrc/cbi/datatypes.lua
+++ b/
libs/web/luasrc/cbi/datatypes.lua
@@
-206,5
+206,5
@@
function device( val, seen )
end
function uciname(val)
- return (val:match("^[a-zA-Z0-9_]+$")
!
= nil)
+ return (val:match("^[a-zA-Z0-9_]+$")
~
= nil)
end