modules/freifunk: forgot to make new variables local in last patch
authorManuel Munz <freifunk@somakoma.de>
Sun, 5 Dec 2010 18:55:05 +0000 (18:55 +0000)
committerManuel Munz <freifunk@somakoma.de>
Sun, 5 Dec 2010 18:55:05 +0000 (18:55 +0000)
modules/freifunk/luasrc/view/freifunk-services/services.htm

index 735a432058193ae5b11d8c82b72096a7bf1646b1..3506d27d9cc5eca55840b4380592dbc962490b0c 100644 (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>