X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/2a4198f94d1c52bb7e0042cf1b4074f277538384..2ab836c11c3f4aa57a71aec18594ae59566b850c:/utils/update.php diff --git a/utils/update.php b/utils/update.php index a18c1721..c3620b06 100644 --- a/utils/update.php +++ b/utils/update.php @@ -352,7 +352,7 @@ if ($aResult['import-osmosis'] || $aResult['import-osmosis-all']) { $sBatchEnd = $aLastState['lastimportdate']; $iEndSequence = $aLastState['sequence_id']; - if ($aLastState['indexed'] == 't') { + if ($aLastState['indexed']) { // Sleep if the update interval has not yet been reached. $fNextUpdate = $aLastState['unix_ts'] + CONST_Replication_Update_Interval; if ($fNextUpdate > $fStartTime) {