From: Jo-Philipp Wich Date: Mon, 5 Dec 2011 19:36:50 +0000 (+0000) Subject: libs/core: fix undefined tostring() in network model X-Git-Tag: 0.11.0~1258 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=df3ee4c199242599921d8874656619d07ea14102;p=oweals%2Fluci.git libs/core: fix undefined tostring() in network model --- diff --git a/libs/core/luasrc/model/network.lua b/libs/core/luasrc/model/network.lua index aaa39086a..d682aa954 100644 --- a/libs/core/luasrc/model/network.lua +++ b/libs/core/luasrc/model/network.lua @@ -17,8 +17,11 @@ limitations under the License. ]]-- -local type, next, pairs, ipairs, loadfile, table, tonumber, math, i18n - = type, next, pairs, ipairs, loadfile, table, tonumber, math, luci.i18n +local type, next, pairs, ipairs, loadfile, table + = type, next, pairs, ipairs, loadfile, table + +local tonumber, tostring, math, i18n + = tonumber, tostring, math, luci.i18n local require = require