Of course $ids should have been initialized beforehand...
This commit is contained in:
parent
8ad0707509
commit
71c41fe940
@ -2,7 +2,8 @@
|
|||||||
|
|
||||||
## Bugfixes
|
## Bugfixes
|
||||||
|
|
||||||
- Fix the display of empty project statistics
|
- Fix two bugs in the project list view if no project
|
||||||
|
is visible to the user or available in the forge
|
||||||
|
|
||||||
# InDefero 1.3.1 - Sun May 06 20:32 2012 UTC
|
# InDefero 1.3.1 - Sun May 06 20:32 2012 UTC
|
||||||
|
|
||||||
|
@ -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'
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user