summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorManuel Munz <freifunk@somakoma.de>2010-12-05 18:55:05 +0000
committerManuel Munz <freifunk@somakoma.de>2010-12-05 18:55:05 +0000
commit0a047ca8b86e25d37d7f731e7e28ae4100b9ce52 (patch)
tree70f77ec2ce117fa1cc4848981d7b9f274d42b34b
parenta5e14ba6b2a1517660726a9664327a16d129c2f7 (diff)
modules/freifunk: forgot to make new variables local in last patch
-rw-r--r--modules/freifunk/luasrc/view/freifunk-services/services.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/freifunk/luasrc/view/freifunk-services/services.htm b/modules/freifunk/luasrc/view/freifunk-services/services.htm
index 735a43205..3506d27d9 100644
--- a/modules/freifunk/luasrc/view/freifunk-services/services.htm
+++ b/modules/freifunk/luasrc/view/freifunk-services/services.htm
@@ -65,7 +65,7 @@ end
local field = {}
-- split line at # and |, 1=url, 2=proto, 3=description, 4=source
local field = luci.util.split(line, "[#|]", split, true)
- url,descr,origin = pcdata(field[1]),pcdata(field[3]),pcdata(field[4])
+ local url,descr,origin = pcdata(field[1]),pcdata(field[3]),pcdata(field[4])
%>
<tr class="cbi-section-table-row cbi-rowstyle-<%=i%>">
<td class="cbi-section-table-cell"><a href="<%=url%>"><%=descr%></a></td>