Fix the project display when no projects are available or visible.
This commit is contained in:
parent
a2d5b14a2c
commit
8ad0707509
@ -1,6 +1,8 @@
|
|||||||
# InDefero 1.3.2 - xxx xxx xx xx:xx 2012 UTC
|
# 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
|
# InDefero 1.3.1 - Sun May 06 20:32 2012 UTC
|
||||||
|
|
||||||
|
@ -505,7 +505,7 @@ class IDF_Views
|
|||||||
*/
|
*/
|
||||||
public static function getProjectsStatistics($projects)
|
public static function getProjectsStatistics($projects)
|
||||||
{
|
{
|
||||||
$projectIds = array();
|
$projectIds = array(0);
|
||||||
foreach ($projects as $project) {
|
foreach ($projects as $project) {
|
||||||
$projectIds[] = $project->id;
|
$projectIds[] = $project->id;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user