From 354e4cb4a70d576a4f02e024f3c8fb1e72f09350 Mon Sep 17 00:00:00 2001 From: Sven Roederer Date: Sat, 6 Jul 2019 14:27:42 +0200 Subject: treewide: adapt to new luci.xml class In the previous commit the luci.xml module was created, Let's change all references to the old functions to the new xml-module. Signed-off-by: Sven Roederer --- applications/luci-app-tinyproxy/luasrc/view/tinyproxy_status.htm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'applications/luci-app-tinyproxy/luasrc/view') diff --git a/applications/luci-app-tinyproxy/luasrc/view/tinyproxy_status.htm b/applications/luci-app-tinyproxy/luasrc/view/tinyproxy_status.htm index 2ba9dddb8e..9ff0b0292c 100644 --- a/applications/luci-app-tinyproxy/luasrc/view/tinyproxy_status.htm +++ b/applications/luci-app-tinyproxy/luasrc/view/tinyproxy_status.htm @@ -35,8 +35,8 @@ if luci.http.formvalue("frame") == "1" then if not data then luci.http.write(translate("Failed to retrieve statistics from url:")) luci.http.write(" http://%s:%s" %{ - luci.util.pcdata(addr), - luci.util.pcdata(port) + luci.xml.pcdata(addr), + luci.xml.pcdata(port) }) end -- cgit v1.2.3