#19163 [NEW]: PEAR::Auth::setAuth() wrong call

From: Date: Wed, 28 Aug 2002 23:00:52 +0000
Subject: #19163 [NEW]: PEAR::Auth::setAuth() wrong call
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-8722@lists.php.net to get a copy of this message
From: arnaud@limbourg.com Operating system: Winnt 4 & Linux PHP version: 4.2.1 PHP Bug Type: PEAR related Bug description: PEAR::Auth::setAuth() wrong call I have written my own container for Auth based on a quick post from Martin a while back (february or march i think) in which i make a static call to setAuth (Aut::setAuth()) In the latest cvs version setAuth now calls setAuthData. The problem is that the call is made using the $this-> structure. But in that case that cannot work since the call to setAuth is static. The call to setAuthData() should be static if (!empty($data)) { Auth::setAuthData($data); } Arnaud. -- Edit bug report at http://bugs.php.net/?id=19163&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19163&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19163&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19163&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19163&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19163&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19163&r=support Expected behavior: http://bugs.php.net/fix.php?id=19163&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19163&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19163&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19163&r=globals

« previous php.pear.dev (#8722) next »