Merge branch 'release-1.3' of projects.ceondo.com:indefero into develop

This commit is contained in:
Thomas Keller 2012-05-09 22:21:32 +02:00
commit 231dfaa8a6
2 changed files with 9 additions and 1 deletions

View File

@ -6,6 +6,13 @@
you filter and search by overdue issues (fixes issue 584,
thanks to Simon Holywell!)
# InDefero 1.3.2 - Wed May 09 20:05 2012 UTC
## Bugfixes
- Fix two bugs in the project list view if no project
is visible to the user or available in the forge (issue 805)
# InDefero 1.3.1 - Sun May 06 20:32 2012 UTC
## Bugfixes

View File

@ -381,6 +381,7 @@ class IDF_Views
$db =& Pluf::db();
// the administrator can see all projects
if ($user->administrator) {
$ids = array();
$sql_results = $db->select(
'SELECT id FROM '.Pluf::f('db_table_prefix', '').'idf_projects'
);
@ -505,7 +506,7 @@ class IDF_Views
*/
public static function getProjectsStatistics($projects)
{
$projectIds = array();
$projectIds = array(0);
foreach ($projects as $project) {
$projectIds[] = $project->id;
}