diff --git a/includes/batch.inc b/includes/batch.inc index fafde864de..a34543aa46 100644 --- a/includes/batch.inc +++ b/includes/batch.inc @@ -183,7 +183,7 @@ function _drush_batch_command($id) { $data = Database::getConnection()->select('batch', 'b') ->fields('b', ['batch']) - ->condition('bid', $id) + ->condition('bid', (int) $id) ->execute() ->fetchField();