cvs: pear /LiveUser_Admin/Perm Complex.php

From: Date: Mon, 14 Mar 2005 16:37:03 +0000
Subject: cvs: pear /LiveUser_Admin/Perm Complex.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-30276@lists.php.net to get a copy of this message
lsmith Mon Mar 14 11:37:03 2005 EDT Modified files: /pear/LiveUser_Admin/Perm Complex.php Log: - moved misplaced code in getRight() http://cvs.php.net/diff.php/pear/LiveUser_Admin/Perm/Complex.php?r1=1.54&r2=1.55&ty=u Index: pear/LiveUser_Admin/Perm/Complex.php diff -u pear/LiveUser_Admin/Perm/Complex.php:1.54 pear/LiveUser_Admin/Perm/Complex.php:1.55 --- pear/LiveUser_Admin/Perm/Complex.php:1.54 Fri Mar 11 06:36:48 2005 +++ pear/LiveUser_Admin/Perm/Complex.php Mon Mar 14 11:37:02 2005 @@ -57,7 +57,7 @@ * @author Bjoern Kraus <krausbn@php.net> * @copyright 2002-2005 Markus Wolff * @license http://www.gnu.org/licenses/lgpl.txt - * @version CVS: $Id: Complex.php,v 1.54 2005/03/11 11:36:48 lsmith Exp $ + * @version CVS: $Id: Complex.php,v 1.55 2005/03/14 16:37:02 lsmith Exp $ * @link http://pear.php.net/LiveUser_Admin */ @@ -829,10 +829,9 @@ $_rights[$right['right_id']] = $right; } } - } - - if (!isset($_rights[$id]['type']) || !$_rights[$id]['type']) { - $_rights[$id]['type'] = 'granted'; + if (!isset($_rights[$id]['type']) || !$_rights[$id]['type']) { + $_rights[$id]['type'] = 'granted'; + } } } }

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