diff --git a/Zotlabs/Lib/Queue.php b/Zotlabs/Lib/Queue.php index 208239264..ff7f32560 100644 --- a/Zotlabs/Lib/Queue.php +++ b/Zotlabs/Lib/Queue.php @@ -18,7 +18,7 @@ class Queue { */ static function count(): int { $r = dbq('select count(*) as total from outq'); - return $r['total'] ?? 0; + return $r[0]['total'] ?? 0; } static function update($id, $add_priority = 0) {