aboutsummaryrefslogtreecommitdiff
path: root/app/Models/StatsDAO.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre.alapetite@alexandra.dk> 2016-08-31 15:56:59 +0200
committerGravatar Alexandre Alapetite <alexandre.alapetite@alexandra.dk> 2016-08-31 15:56:59 +0200
commite098119441b5a2d15bb2ba395dcdc90a0c345e2c (patch)
tree02f02bfbf00282c3dd328f2034b3138b9d7aa1b6 /app/Models/StatsDAO.php
parentc25fdbcc0990b637e305665a456e52e1aa3dec0a (diff)
parent57705c679b56b0f9eb5c343fd24f15fc80926b5b (diff)
Merge branch 'FreshRSS/dev' into PostgreSQL
Diffstat (limited to 'app/Models/StatsDAO.php')
-rw-r--r--app/Models/StatsDAO.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Models/StatsDAO.php b/app/Models/StatsDAO.php
index 3f5bf8515..bbafa9613 100644
--- a/app/Models/StatsDAO.php
+++ b/app/Models/StatsDAO.php
@@ -168,6 +168,7 @@ SQL;
$stm->execute();
$res = $stm->fetchAll(PDO::FETCH_NAMED);
+ $repartition = array();
foreach ($res as $value) {
$repartition[(int) $value['period']] = (int) $value['count'];
}