Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
almasaeed2010 committed Apr 1, 2019
1 parent a540cd5 commit 2871c88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/Elasticsearch/ESQueue.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ public function __construct() {
* @return object
*/
public static function progress() {
$should_check = (int) db_query("SELECT count(*)
$should_check = (int) db_query("SELECT COUNT(*)
FROM queue
WHERE name LIKE :es", [
':es' => db_like('elasticsearch%'),
':es' => db_like('elasticsearch').'%',
])->fetchField();

$queues = [];
Expand Down

0 comments on commit 2871c88

Please sign in to comment.