cvs: pear /LiveUser_Admin Admin.php
| From: | Lukas Smith | Date: | Thu, 20 Jan 2005 22:47:14 +0000 |
| Subject: | cvs: pear /LiveUser_Admin Admin.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-28712@lists.php.net to get a copy of this message | ||
lsmith Thu Jan 20 17:47:14 2005 EDT
Modified files:
/pear/LiveUser_Admin Admin.php
Log:
- ensure that backend init errors are returned to the user
http://cvs.php.net/diff.php/pear/LiveUser_Admin/Admin.php?r1=1.22&r2=1.23&ty=u
Index: pear/LiveUser_Admin/Admin.php
diff -u pear/LiveUser_Admin/Admin.php:1.22 pear/LiveUser_Admin/Admin.php:1.23
--- pear/LiveUser_Admin/Admin.php:1.22 Wed Jan 12 17:40:11 2005
+++ pear/LiveUser_Admin/Admin.php Thu Jan 20 17:47:14 2005
@@ -49,7 +49,7 @@
* @author Lukas Smith
* @author Arnaud Limbourg
* @author Helgi Þormar Þorbjörnsson
- * @version $Id: Admin.php,v 1.22 2005/01/12 22:40:11 lsmith Exp $
+ * @version $Id: Admin.php,v 1.23 2005/01/20 22:47:14 lsmith Exp $
* @package LiveUser
*/
class LiveUser_Admin
@@ -254,7 +254,7 @@
$authName,
'LiveUser_Admin_'
);
- if (!is_object($auth)) {
+ if ($auth === false) {
$this->_stack->push(LIVEUSER_ADMIN_ERROR, 'exception',
array('msg' => 'Could not create auth container
instance'));
return false;