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";
}
?>