cvs: pear /LiveUser LiveUser.php
| From: | Arnaud Limbourg | Date: | Wed, 26 Oct 2005 09:39:43 +0000 |
| Subject: | cvs: pear /LiveUser LiveUser.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-35868@lists.php.net to get a copy of this message | ||
arnaud Wed Oct 26 05:39:43 2005 EDT
Modified files:
/pear/LiveUser LiveUser.php
Log:
nasty bug: if you were passing a Log object a faulty test made LiveUser drop the object
http://cvs.php.net/diff.php/pear/LiveUser/LiveUser.php?r1=1.115&r2=1.116&ty=u
Index: pear/LiveUser/LiveUser.php
diff -u pear/LiveUser/LiveUser.php:1.115 pear/LiveUser/LiveUser.php:1.116
--- pear/LiveUser/LiveUser.php:1.115 Wed Oct 26 05:32:32 2005
+++ pear/LiveUser/LiveUser.php Wed Oct 26 05:39:42 2005
@@ -40,7 +40,7 @@
* @author Bjoern Kraus <krausbn@php.net>
* @copyright 2002-2005 Markus Wolff
* @license http://www.gnu.org/licenses/lgpl.txt
- * @version CVS: $Id: LiveUser.php,v 1.115 2005/10/26 09:32:32 arnaud Exp $
+ * @version CVS: $Id: LiveUser.php,v 1.116 2005/10/26 09:39:42 arnaud Exp $
* @link http://pear.php.net/LiveUser
*/
@@ -687,7 +687,7 @@
// probably a futile attempt at working out reference issues in arrays
$options = $conf;
- if (array_key_exists('debug', $conf) &&
is_object($conf['debug'])) {
+ if (array_key_exists('debug', $conf) &&
!is_object($conf['debug'])) {
$options['debug'] = true;
}
if (array_key_exists('authContainers', $conf)) {