Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
1c037f81a0 | ||
|
71c41fe940 | ||
|
8ad0707509 | ||
|
a2d5b14a2c |
@@ -1,3 +1,10 @@
|
||||
# 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
|
||||
|
@@ -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;
|
||||
}
|
||||
|
@@ -1,5 +1,5 @@
|
||||
<?php
|
||||
return array(
|
||||
'version' => '1.3.1',
|
||||
'version' => '1.3.2',
|
||||
'revision' => '$Format:%H$',
|
||||
);
|
||||
|
Reference in New Issue
Block a user