Indefero

Indefero Commit Details


Date:2012-04-18 15:09:53 (12 years 8 months ago)
Author:Thomas Keller
Branch:develop, release-1.3
Commit:d1542c9c001120a7f34afffba0eee960734e1e57
Parents: 4da01b2732e63ec906caff14af053e417b1aef6f
Message:Another Postgres issue (hopefully fixes issue 800).

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($db->qn('private').'=%s', $false);
$authSql = new Pluf_SQL($db->qn('private').'='.$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($db->qn('private').'=%s', $false);
$authSql = new Pluf_SQL($db->qn('private').'='.$false);
if ($rows->count() > 0) {
$ids = array();
foreach ($rows as $row) {

Archive Download the corresponding diff file

Page rendered in 0.07660s using 14 queries.