]> git.openstreetmap.org Git - nominatim.git/commitdiff
show simple query field when no parameters are given
authorSarah Hoffmann <lonvia@denofr.de>
Sun, 10 May 2020 21:52:53 +0000 (23:52 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sun, 10 May 2020 21:52:53 +0000 (23:52 +0200)
lib/template/search-html.php

index c1eceede7541a6949c69e2d8574d8fe3aef742cd..5090a6faaa755b2a23d49cf545c6d5c39b0c4ee6 100644 (file)
@@ -36,7 +36,7 @@
     <form role="search" accept-charset="UTF-8" action="<?php echo CONST_Website_BaseURL; ?>search.php">
         <div class="form-group-simple"
         <?php
-        if (!$bSimpleQuery) {
+        if ($bStructuredQuery) {
             echo 'style="display:none;"';
         }
         ?>>