cvs: pear /Auth Auth.php

From: Date: Fri, 01 Nov 2002 10:37:27 +0000
Subject: cvs: pear /Auth Auth.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-7257@lists.php.net to get a copy of this message
mj Fri Nov 1 05:37:27 2002 EDT Modified files: /pear/Auth Auth.php Log: * Fix bug in getAuthData(). # Patch by Javier Conti. Index: pear/Auth/Auth.php diff -u pear/Auth/Auth.php:1.43 pear/Auth/Auth.php:1.44 --- pear/Auth/Auth.php:1.43 Sat Aug 31 11:00:09 2002 +++ pear/Auth/Auth.php Fri Nov 1 05:37:27 2002 @@ -16,7 +16,7 @@ // | Authors: Martin Jansen <mj@php.net> | // +----------------------------------------------------------------------+ // -// $Id: Auth.php,v 1.43 2002/08/31 15:00:09 jflemer Exp $ +// $Id: Auth.php,v 1.44 2002/11/01 10:37:27 mj Exp $ // require_once "PEAR.php"; @@ -132,7 +132,7 @@ * * @author Martin Jansen <mj@php.net> * @package Auth - * @version $Revision: 1.43 $ + * @version $Revision: 1.44 $ */ define("AUTH_IDLED", -1); @@ -521,8 +521,8 @@ { $session = &Auth::_importGlobalVariable("session"); - if (isset($session['auth']['data'])) { - return $session['auth']['data']; + if (isset($session['auth'][$data])) { + return $session['auth'][$data]; } else { return null; }

« previous php.pear.cvs (#7257) next »