]> git.openstreetmap.org Git - nominatim.git/commitdiff
don't use isset for bool options in setup.php
authorSarah Hoffmann <lonvia@denofr.de>
Sun, 27 Sep 2015 09:09:55 +0000 (11:09 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sun, 27 Sep 2015 09:09:55 +0000 (11:09 +0200)
utils/setup.php

index 07b929a12344e5775426f8a8a5c4f0327f474ae8..90374e74785175a146a9f567537c23aca5dfdb64 100755 (executable)
                }
        }
 
                }
        }
 
-       if (isset($aCMDResult['drop']))
+       if ($aCMDResult['drop'])
        {
                // The implementation is potentially a bit dangerous because it uses
                // a positive selection of tables to keep, and deletes everything else.
        {
                // The implementation is potentially a bit dangerous because it uses
                // a positive selection of tables to keep, and deletes everything else.