pluf2

pluf2 Commit Details


Date:2008-11-05 14:21:46 (16 years 1 month ago)
Author:Loic d'Anterroches
Branch:master
Commit:743dc62bcc16c440f3373a032a7693c6d471d63b
Parents: f8dde9672b1880c30767d26a63679fec589b399a
Message:Fix error when trying to get row level permission of an anonymous user.

Changes:

File differences

src/Pluf/User.php
291291
292292
293293
294
294
295295
296296
297297
$this->_cache_perms[] = $perm->application.'.'.$perm->code_name;
}
}
if (Pluf::f('pluf_use_rowpermission', false)) {
if (Pluf::f('pluf_use_rowpermission', false) and $this->id) {
$growp = new Pluf_RowPermission();
$sql = new Pluf_SQL('owner_id=%s AND owner_class=%s',
array($this->id, 'Pluf_User'));

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.05508s using 13 queries.