Fix the project display when no projects are available or visible.

This commit is contained in:
Thomas Keller 2012-05-07 23:12:55 +02:00
parent a2d5b14a2c
commit 8ad0707509
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -505,7 +505,7 @@ class IDF_Views
*/
public static function getProjectsStatistics($projects)
{
$projectIds = array();
$projectIds = array(0);
foreach ($projects as $project) {
$projectIds[] = $project->id;
}