cvs: pear /LiveUser_Admin/Perm Complex.php
| From: | Lukas Smith | Date: | Tue, 17 Jan 2006 11:04:45 +0000 |
| Subject: | cvs: pear /LiveUser_Admin/Perm Complex.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-37608@lists.php.net to get a copy of this message | ||
lsmith Tue Jan 17 11:04:45 2006 UTC
Modified files:
/pear/LiveUser_Admin/Perm Complex.php
Log:
- do not overwrite all filters in _get*() helper methods
http://cvs.php.net/viewcvs.cgi/pear/LiveUser_Admin/Perm/Complex.php?r1=1.79&r2=1.80&diff_format=u
Index: pear/LiveUser_Admin/Perm/Complex.php
diff -u pear/LiveUser_Admin/Perm/Complex.php:1.79 pear/LiveUser_Admin/Perm/Complex.php:1.80
--- pear/LiveUser_Admin/Perm/Complex.php:1.79 Sat Dec 31 13:03:48 2005
+++ pear/LiveUser_Admin/Perm/Complex.php Tue Jan 17 11:04:45 2006
@@ -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.79 2005/12/31 13:03:48 lsmith Exp $
+ * @version CVS: $Id: Complex.php,v 1.80 2006/01/17 11:04:45 lsmith Exp $
* @link http://pear.php.net/LiveUser_Admin
*/
@@ -706,7 +706,7 @@
$groups = array_merge($groups, (array)$subgroups);
} while(!empty($subgroups));
- $params['filters'] = array('group_id' => $groups);
+ $params['filters']['group_id'] = $groups;
return parent::getGroups($params);
}
@@ -954,7 +954,7 @@
return false;
}
- $params['filters'] = array('right_id' => $result);
+ $params['filters']['right_id'] = $result;
unset($params['inherited']);
return $this->getRights($params);
}
@@ -997,7 +997,7 @@
return array();
}
- $params['filters'] = array('group_id' => $result);
+ $params['filters']['group_id'] = $result;
unset($params['implied']);
unset($params['inherited']);
return $this->getRights($params);