Indefero

Indefero Commit Details


Date:2012-04-18 00:17:35 (12 years 8 months ago)
Author:Thomas Keller
Branch:develop, release-1.3
Commit:b44ad48fd596d37f5e4e02ad78bab0fe97ec6f27
Parents: 3ae92627bcb9bab3a7d197ea5457ccc0cf3b1c51
Message:Another PostgreSQL issue (hopefully) fixed.

Changes:

File differences

src/IDF/Views.php
389389
390390
391391
392
392
393393
394394
395395
......
403403
404404
405405
406
406
407407
408408
409409
if ($user->isAnonymous())
{
$authSql = new Pluf_SQL('private=%s', $false);
$authSql = new Pluf_SQL($db->qn('private').'=%s', $false);
$sql->SAnd($authSql);
} else
if (!$user->administrator) {
$permSql = new Pluf_SQL("model_class='IDF_Project' AND owner_class='Pluf_User' AND owner_id=%s AND negative=".$false, $user->id);
$rows = Pluf::factory('Pluf_RowPermission')->getList(array('filter' => $permSql->gen()));
$authSql = new Pluf_SQL('private=%s', $false);
$authSql = new Pluf_SQL($db->qn('private').'=%s', $false);
if ($rows->count() > 0) {
$ids = array();
foreach ($rows as $row) {

Archive Download the corresponding diff file

Page rendered in 0.08415s using 13 queries.