summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--modules/freifunk/luasrc/view/freifunk/contact.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/freifunk/luasrc/view/freifunk/contact.htm b/modules/freifunk/luasrc/view/freifunk/contact.htm
index 0d917ad5b..1ebbf69f7 100644
--- a/modules/freifunk/luasrc/view/freifunk/contact.htm
+++ b/modules/freifunk/luasrc/view/freifunk/contact.htm
@@ -17,7 +17,7 @@ $Id$
<%
local uci = require "luci.model.uci".cursor()
local contact = uci:get_all("freifunk", "contact")
-local location = uci:get_first("system", "system", "location")
+local location = uci:get_first("system", "system", "location") or contact.location
local lon = uci:get_first("system", "system", "longitude")
local lat = uci:get_first("system", "system", "latitude")
%>