diff --git a/NEWS.mdtext b/NEWS.mdtext index 0decaf2..ffedb47 100644 --- a/NEWS.mdtext +++ b/NEWS.mdtext @@ -1,6 +1,8 @@ # InDefero 1.3.2 - xxx xxx xx xx:xx 2012 UTC -- ... +## Bugfixes + +- Fix the display of empty project statistics # InDefero 1.3.1 - Sun May 06 20:32 2012 UTC diff --git a/src/IDF/Views.php b/src/IDF/Views.php index 37c4cd0..e6442eb 100644 --- a/src/IDF/Views.php +++ b/src/IDF/Views.php @@ -505,7 +505,7 @@ class IDF_Views */ public static function getProjectsStatistics($projects) { - $projectIds = array(); + $projectIds = array(0); foreach ($projects as $project) { $projectIds[] = $project->id; }