Merge branch 'release-1.3' of projects.ceondo.com:indefero into develop
This commit is contained in:
commit
231dfaa8a6
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user