diff --git a/lib/Command/PlacesSetup.php b/lib/Command/PlacesSetup.php index 25be76fa..0b6f1b4a 100644 --- a/lib/Command/PlacesSetup.php +++ b/lib/Command/PlacesSetup.php @@ -269,7 +269,7 @@ class PlacesSetup extends Command } // Commit transaction every once in a while - if ($count % 500 === 0) { + if (0 === $count % 500) { $this->connection->commit(); $txnCount = 0;