cvs: pear /Perm_LiveUser/Admin/Perm DB_Common.php MDB_Common.php
| From: | Arnaud Limbourg | Date: | Mon, 06 Oct 2003 17:31:12 +0000 |
| Subject: | cvs: pear /Perm_LiveUser/Admin/Perm DB_Common.php MDB_Common.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-13435@lists.php.net to get a copy of this message | ||
arnaud Mon Oct 6 13:31:12 2003 EDT
Modified files:
/pear/Perm_LiveUser/Admin/Perm MDB_Common.php DB_Common.php
Log:
* test not needed
Index: pear/Perm_LiveUser/Admin/Perm/MDB_Common.php
diff -u pear/Perm_LiveUser/Admin/Perm/MDB_Common.php:1.12
pear/Perm_LiveUser/Admin/Perm/MDB_Common.php:1.13
--- pear/Perm_LiveUser/Admin/Perm/MDB_Common.php:1.12 Sat Oct 4 17:33:21 2003
+++ pear/Perm_LiveUser/Admin/Perm/MDB_Common.php Mon Oct 6 13:31:12 2003
@@ -33,7 +33,7 @@
* MDB based containers used to maintain
* the permission database.
*
- * @version $Id: MDB_Common.php,v 1.12 2003/10/04 21:33:21 mw21st Exp $
+ * @version $Id: MDB_Common.php,v 1.13 2003/10/06 17:31:12 arnaud Exp $
* @package LiveUser
*/
class LiveUser_Admin_Perm_MDB_Common extends LiveUser_Admin_Perm_Common
@@ -1433,8 +1433,7 @@
. $this->dbc->getIntegerValue($options['where_application_id']) .
' AND';
};
- if (isset($options['where_user_id'])
- && is_numeric($options['where_user_id'])) {
+ if (isset($options['where_user_id'])) {
$query .= ' userrights.perm_user_id = '
. $this->_getPermUserId($options['where_user_id']) . ' AND
userrights.right_id = rights.right_id AND';
Index: pear/Perm_LiveUser/Admin/Perm/DB_Common.php
diff -u pear/Perm_LiveUser/Admin/Perm/DB_Common.php:1.20
pear/Perm_LiveUser/Admin/Perm/DB_Common.php:1.21
--- pear/Perm_LiveUser/Admin/Perm/DB_Common.php:1.20 Fri Oct 3 17:52:35 2003
+++ pear/Perm_LiveUser/Admin/Perm/DB_Common.php Mon Oct 6 13:31:12 2003
@@ -33,7 +33,7 @@
* DB based containers used to maintain
* the permission database.
*
- * @version $Id: DB_Common.php,v 1.20 2003/10/03 21:52:35 mw21st Exp $
+ * @version $Id: DB_Common.php,v 1.21 2003/10/06 17:31:12 arnaud Exp $
* @package LiveUser
*/
class LiveUser_Admin_Perm_DB_Common extends LiveUser_Admin_Perm_Common
@@ -1383,8 +1383,7 @@
. (int)$options['where_application_id'] . ' AND';
};
- if (isset($options['where_user_id'])
- && is_numeric($options['where_user_id'])) {
+ if (isset($options['where_user_id'])) {
$query .= ' userrights.perm_user_id = '
. $this->_getPermUserId($options['where_user_id']) . ' AND
userrights.right_id = rights.right_id AND';