From a9b370fcb2f73aac47363ffe75feaae2984fbe73 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Fri, 22 Jan 2016 23:11:47 +0100 Subject: [PATCH] reverse webpage: don't choose zoom level 0 when none is given --- lib/template/address-html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/template/address-html.php b/lib/template/address-html.php index 1f18e96c..dbe982f0 100644 --- a/lib/template/address-html.php +++ b/lib/template/address-html.php @@ -48,7 +48,7 @@ foreach($aZoomLevels as $iZoomLevel => $sLabel) { - $bSel = isset($_GET['zoom']) && ($_GET['zoom'] == $iZoomLevel); + $bSel = isset($_GET['zoom']) && ($_GET['zoom'] == (string)$iZoomLevel); echo ''."\n"; } ?> -- 2.39.5