cvs: pear /LiveUser/Perm Medium.php

From: Date: Mon, 27 Feb 2006 09:05:43 +0000
Subject: cvs: pear /LiveUser/Perm Medium.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-38667@lists.php.net to get a copy of this message
lsmith Mon Feb 27 09:05:43 2006 UTC Modified files: /pear/LiveUser/Perm Medium.php Log: - fixed another bug in regards to reading rights that are assigned directly http://cvs.php.net/viewcvs.cgi/pear/LiveUser/Perm/Medium.php?r1=1.24&r2=1.25&diff_format=u Index: pear/LiveUser/Perm/Medium.php diff -u pear/LiveUser/Perm/Medium.php:1.24 pear/LiveUser/Perm/Medium.php:1.25 --- pear/LiveUser/Perm/Medium.php:1.24 Wed Feb 22 19:16:03 2006 +++ pear/LiveUser/Perm/Medium.php Mon Feb 27 09:05:42 2006 @@ -40,7 +40,7 @@ * @author Bjoern Kraus <krausbn@php.net> * @copyright 2002-2005 Markus Wolff * @license http://www.gnu.org/licenses/lgpl.txt - * @version CVS: $Id: Medium.php,v 1.24 2006/02/22 19:16:03 lsmith Exp $ + * @version CVS: $Id: Medium.php,v 1.25 2006/02/27 09:05:42 lsmith Exp $ * @link http://pear.php.net/LiveUser */ @@ -149,6 +149,8 @@ unset($groupRights[$right]); } elseif ($level < 0) { $this->rights[$right] = LIVEUSER_MAX_LEVEL + $level; + } elseif ($level > 0) { + $this->rights[$right] = $level; } elseif ($level == 0) { unset($this->rights[$right]); }

« previous php.pear.cvs (#38667) next »