diff --git a/NEWS.mdtext b/NEWS.mdtext index ffedb47..e4e1349 100644 --- a/NEWS.mdtext +++ b/NEWS.mdtext @@ -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 diff --git a/src/IDF/Views.php b/src/IDF/Views.php index e6442eb..bcc1492 100644 --- a/src/IDF/Views.php +++ b/src/IDF/Views.php @@ -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' );