From 01512419f44d624a1f69c5ab97968d37bc38798d Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 21 Jan 2017 18:08:53 +0100 Subject: [PATCH] gluon-luci-admin: fix firmware upgrade confirmation code Fix an exception breaking the page. --- .../files/usr/lib/lua/luci/view/admin/upgrade_confirm.htm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/gluon-luci-admin/files/usr/lib/lua/luci/view/admin/upgrade_confirm.htm b/package/gluon-luci-admin/files/usr/lib/lua/luci/view/admin/upgrade_confirm.htm index d77f6c95..a5ef8109 100644 --- a/package/gluon-luci-admin/files/usr/lib/lua/luci/view/admin/upgrade_confirm.htm +++ b/package/gluon-luci-admin/files/usr/lib/lua/luci/view/admin/upgrade_confirm.htm @@ -45,7 +45,7 @@ $Id$ if flashsize > 0 then write(luci.i18n.translatef( " (%s available)", - w.byte_format(flashsize) + byte_format(flashsize) )) end %>