Indefero

Indefero Commit Details


Date:2008-11-26 15:29:10 (16 years 25 days ago)
Author:Loic d'Anterroches
Branch:dev, develop, feature-issue_links, feature.better-home, feature.content-md5, feature.diff-whitespace, feature.download-md5, feature.issue-links, feature.issue-of-others, feature.issue-summary, feature.search-filter, feature.webrepos, feature.wiki-default-page, master, release-1.1, release-1.2, release-1.3
Commit:71461299bc85fab4d2f43694e825c19cd032f338
Parents: ed40edf594b496880bd3d540acacc0051f74b546
Message:Fixed the listing of the projects in the public profile view.

Changes:

File differences

src/IDF/Views/User.php
6565
6666
6767
68
68
6969
7070
7171
*/
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) {

Archive Download the corresponding diff file

Page rendered in 0.08898s using 13 queries.