Fixed the listing of the projects in the public profile view.

dev
Loic d'Anterroches 2008-11-26 22:29:10 +01:00
parent ed40edf594
commit 71461299bc
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ class IDF_Views_User
*/
public function view($request, $match)
{
$projects = Pluf::factory('IDF_Project')->getList();
$projects = IDF_Views::getProjects($request->user);
$sql = new Pluf_SQL('login=%s', array($match[1]));
$users = Pluf::factory('Pluf_User')->getList(array('filter'=>$sql->gen()));
if (count($users) != 1 or !$users[0]->active) {