From: Sarah Hoffmann Date: Sun, 27 Sep 2015 09:09:55 +0000 (+0200) Subject: don't use isset for bool options in setup.php X-Git-Tag: v.2.5.0~21 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/f24b904f9ad744a0d79de98588f13ead918981c5 don't use isset for bool options in setup.php --- diff --git a/utils/setup.php b/utils/setup.php index 07b929a1..90374e74 100755 --- a/utils/setup.php +++ b/utils/setup.php @@ -730,7 +730,7 @@ } } - 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.