An undocumented feature of uci:get_first() is to cast the returned value to the same type as the default argument. Thus, supplying a default value ot type number makes string.format superfluous. |
||
|---|---|---|
| .. | ||
| lib/lua/luci | ||
An undocumented feature of uci:get_first() is to cast the returned value to the same type as the default argument. Thus, supplying a default value ot type number makes string.format superfluous. |
||
|---|---|---|
| .. | ||
| lib/lua/luci | ||