modules/freifunk: forgot to make new variables local in last patch

This commit is contained in:
Manuel Munz 2010-12-05 18:55:05 +00:00
parent a5e14ba6b2
commit 0a047ca8b8

View file

@ -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>