cvs: pear /Perm_LiveUser/Admin/Auth/Container DB.php
| From: | Helgi �ormar �orbj�rnsson | Date: | Sun, 24 Oct 2004 11:01:02 +0000 |
| Subject: | cvs: pear /Perm_LiveUser/Admin/Auth/Container DB.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-25165@lists.php.net to get a copy of this message | ||
dufuz Sun Oct 24 07:01:02 2004 EDT
Modified files:
/pear/Perm_LiveUser/Admin/Auth/Container DB.php
Log:
count() missing in updateUsers, customFIelds part
http://cvs.php.net/diff.php/pear/Perm_LiveUser/Admin/Auth/Container/DB.php?r1=1.72&r2=1.73&ty=u
Index: pear/Perm_LiveUser/Admin/Auth/Container/DB.php
diff -u pear/Perm_LiveUser/Admin/Auth/Container/DB.php:1.72
pear/Perm_LiveUser/Admin/Auth/Container/DB.php:1.73
--- pear/Perm_LiveUser/Admin/Auth/Container/DB.php:1.72 Sun Oct 24 06:46:22 2004
+++ pear/Perm_LiveUser/Admin/Auth/Container/DB.php Sun Oct 24 07:01:01 2004
@@ -45,7 +45,7 @@
* This class is only experimental. API may change. Use it at your own risk.
*
* @author Bjoern Kraus <krausbn@php.net>
- * @version $Id: DB.php,v 1.72 2004/10/24 10:46:22 dufuz Exp $
+ * @version $Id: DB.php,v 1.73 2004/10/24 11:01:01 dufuz Exp $
* @package LiveUser
* @category authentication
*/
@@ -298,7 +298,7 @@
}
if (isset($this->authTableCols['custom']) && is_array($customFields)
&&
- ($customFields) > 0) {
+ count($customFields) > 0) {
foreach ($customFields as $alias => $value) {
$updateValues[] =
$this->authTableCols['custom'][$alias]['name'] . '=' .
$this->dbc->quoteSmart($value);