cvs: pear /Perm_LiveUser/Admin/Perm DB_Common.php
| From: | Arnaud Limbourg | Date: | Mon, 08 Sep 2003 12:51:55 +0000 |
| Subject: | cvs: pear /Perm_LiveUser/Admin/Perm DB_Common.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-12544@lists.php.net to get a copy of this message | ||
arnaud Mon Sep 8 08:51:55 2003 EDT
Modified files:
/pear/Perm_LiveUser/Admin/Perm DB_Common.php
Log:
* nuke warning
Index: pear/Perm_LiveUser/Admin/Perm/DB_Common.php
diff -u pear/Perm_LiveUser/Admin/Perm/DB_Common.php:1.1
pear/Perm_LiveUser/Admin/Perm/DB_Common.php:1.2
--- pear/Perm_LiveUser/Admin/Perm/DB_Common.php:1.1 Mon Aug 18 14:30:38 2003
+++ pear/Perm_LiveUser/Admin/Perm/DB_Common.php Mon Sep 8 08:51:55 2003
@@ -33,7 +33,7 @@
* DB based containers used to maintain
* the permission database.
*
- * @version $Id: DB_Common.php,v 1.1 2003/08/18 18:30:38 arnaud Exp $
+ * @version $Id: DB_Common.php,v 1.2 2003/09/08 12:51:55 arnaud Exp $
* @package LiveUser
*/
class LiveUser_Admin_Perm_DB_Common extends LiveUser_Admin_Perm_Common
@@ -1419,7 +1419,7 @@
$id = $value['right_id'];
$_rights[$id] = $value;
- if ($options['with_areas'] == true) {
+ if (isset($options['with_areas'])) {
// Add area
$_rights[$id]['area'] =
$this->getTranslation($value['area_id'], LIVEUSER_SECTION_AREA);