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

This commit is contained in:
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

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