]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/includes/html-top-navigation.php
query the last updated timestamp only if output format is HTML
[nominatim.git] / lib / template / includes / html-top-navigation.php
index e0b367b420b74a57a5c98324b8bbefe463dfc618..1857d82c35a4e57413aef6076b8d5cf727be3a1d 100644 (file)
@@ -9,7 +9,7 @@
         </div>
       </div>
       <div id="last-updated" class="col-xs-4 text-center">
-        <?php if ($sDataDate){ ?>
+        <?php if (isset($sDataDate)){ ?>
           Data last updated:
           <br>
           <?php echo $sDataDate; ?>