]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/AddressDetails.php
Merge pull request #1433 from mtmail/us-postcode-import-optional
[nominatim.git] / lib / AddressDetails.php
index 2d40c84f4efc35e90421798cc14f35a35bde3f68..b62335d1f61ace06277a7aebf23423dbba7ef3cc 100644 (file)
@@ -17,7 +17,7 @@ class AddressDetails
             $mLangPref = 'ARRAY['.join(',', array_map('getDBQuoted', $mLangPref)).']';
         }
 
-        if (!$sHousenumber) {
+        if (!isset($sHousenumber)) {
             $sHousenumber = -1;
         }