summaryrefslogtreecommitdiff
path: root/maintenance/runJobs.php
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/runJobs.php')
-rw-r--r--maintenance/runJobs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/maintenance/runJobs.php b/maintenance/runJobs.php
index 14d08091..cee9cb1e 100644
--- a/maintenance/runJobs.php
+++ b/maintenance/runJobs.php
@@ -34,7 +34,7 @@ $conds = '';
if ($type !== false)
$conds = "job_cmd = " . $dbw->addQuotes($type);
-while ( $dbw->selectField( 'job', 'count(*)', $conds, 'runJobs.php' ) ) {
+while ( $dbw->selectField( 'job', 'job_id', $conds, 'runJobs.php' ) ) {
$offset=0;
for (;;) {
$job = ($type == false) ?