Of course $ids should have been initialized beforehand...

release-1.3
Thomas Keller 2012-05-07 23:26:23 +02:00
parent 8ad0707509
commit 71c41fe940
2 changed files with 3 additions and 1 deletions

View File

@ -2,7 +2,8 @@
## 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

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'
);