diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Controllers/Metrics/Stats.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Controllers/Metrics/Stats.php b/src/Controllers/Metrics/Stats.php index 2d58f999..f1ef247b 100644 --- a/src/Controllers/Metrics/Stats.php +++ b/src/Controllers/Metrics/Stats.php @@ -226,13 +226,13 @@ class Stats public function questions($answered = null) { $query = $this - ->getQuery('Questions'); + ->getQuery('questions'); if (!is_null($answered)) { if ($answered) { - $query->whereNotNull('AID'); + $query->whereNotNull('answerer_id'); } else { - $query->whereNull('AID'); + $query->whereNull('answerer_id'); } } |