]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/AddressDetails.php
Merge remote-tracking branch 'upstream/master'
[nominatim.git] / lib / AddressDetails.php
index 2d40c84f4efc35e90421798cc14f35a35bde3f68..b62335d1f61ace06277a7aebf23423dbba7ef3cc 100644 (file)
@@ -17,7 +17,7 @@ class AddressDetails
             $mLangPref = 'ARRAY['.join(',', array_map('getDBQuoted', $mLangPref)).']';
         }
 
             $mLangPref = 'ARRAY['.join(',', array_map('getDBQuoted', $mLangPref)).']';
         }
 
-        if (!$sHousenumber) {
+        if (!isset($sHousenumber)) {
             $sHousenumber = -1;
         }
 
             $sHousenumber = -1;
         }