]> 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 61bec19a846dcbd4d8f94193c9566fbccdfb0550..d72fcb7c1c91d1cee1625f8730a299e134ce6ac6 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; ?>