cvs: pear /Perm_LiveUser/Perm Common.php
| From: | Lukas Smith | Date: | Tue, 29 Jul 2003 15:01:50 +0000 |
| Subject: | cvs: pear /Perm_LiveUser/Perm Common.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-11806@lists.php.net to get a copy of this message | ||
lsmith Tue Jul 29 11:01:50 2003 EDT
Modified files:
/pear/Perm_LiveUser/Perm Common.php
Log:
fixed bug in ondemand handling of checkRight()
spotted by Christian
Index: pear/Perm_LiveUser/Perm/Common.php
diff -u pear/Perm_LiveUser/Perm/Common.php:1.22 pear/Perm_LiveUser/Perm/Common.php:1.23
--- pear/Perm_LiveUser/Perm/Common.php:1.22 Tue Jul 22 10:21:59 2003
+++ pear/Perm_LiveUser/Perm/Common.php Tue Jul 29 11:01:50 2003
@@ -54,7 +54,7 @@
*
* @author Markus Wolff <wolff@21st.de>
* @author Bjoern Kraus <krausbn@php.net>
- * @version $Id: Common.php,v 1.22 2003/07/22 14:21:59 lsmith Exp $
+ * @version $Id: Common.php,v 1.23 2003/07/29 15:01:50 lsmith Exp $
* @package LiveUser
* @category authentication
*/
@@ -303,7 +303,7 @@
}
} elseif ($this->ondemand) {
$this->readRights();
- $this->checkRight($right_id, $area_id);
+ return $this->checkRight($right_id, $area_id);
}
return $hasright;
} // end func checkRight