From a9a71484cbb1d20f6315d7b32d0256085d3e6f17 Mon Sep 17 00:00:00 2001
From: Tor-Einar Skog <tor-einar.skog@nibio.no>
Date: Tue, 7 May 2019 13:23:20 +0200
Subject: [PATCH] Bugfix handling empty uris for data sources

---
 src/main/webapp/templates/weatherstationList.ftl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/webapp/templates/weatherstationList.ftl b/src/main/webapp/templates/weatherstationList.ftl
index bef608bc..3e7246bc 100755
--- a/src/main/webapp/templates/weatherstationList.ftl
+++ b/src/main/webapp/templates/weatherstationList.ftl
@@ -89,7 +89,7 @@
 					</#if>
 					<td>
 					<#if weatherStation.weatherStationDataSourceId?has_content>
-						<a href="${weatherStation.weatherStationDataSourceId.uri}">${weatherStation.weatherStationDataSourceId.name}</a>
+						<a href="${weatherStation.weatherStationDataSourceId.uri!""}">${weatherStation.weatherStationDataSourceId.name!""}</a>
 					</#if>
 					</td>
 				    </tr>
-- 
GitLab