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,
|
you filter and search by overdue issues (fixes issue 584,
|
||||||
thanks to Simon Holywell!)
|
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
|
# InDefero 1.3.1 - Sun May 06 20:32 2012 UTC
|
||||||
|
|
||||||
## Bugfixes
|
## Bugfixes
|
||||||
|
@ -381,6 +381,7 @@ class IDF_Views
|
|||||||
$db =& Pluf::db();
|
$db =& Pluf::db();
|
||||||
// the administrator can see all projects
|
// the administrator can see all projects
|
||||||
if ($user->administrator) {
|
if ($user->administrator) {
|
||||||
|
$ids = array();
|
||||||
$sql_results = $db->select(
|
$sql_results = $db->select(
|
||||||
'SELECT id FROM '.Pluf::f('db_table_prefix', '').'idf_projects'
|
'SELECT id FROM '.Pluf::f('db_table_prefix', '').'idf_projects'
|
||||||
);
|
);
|
||||||
@ -505,7 +506,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…
x
Reference in New Issue
Block a user