Req #17831 [Opn]: start does not return drawLogin's return value

From: Date: Sun, 29 Aug 2010 12:30:35 +0000
Subject: Req #17831 [Opn]: start does not return drawLogin's return value
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-4712@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=17831&edit=1 ID: 17831 Updated by: php@adamashley.name Reported By: Hartmut dot Wilhelms at arcor dot de Summary: start does not return drawLogin's return value Status: Open Type: Feature/Change Request Package: Auth Operating System: Windows Vista Package Version: 1.6.2 PHP Version: 5.2.10 Roadmap Versions: New Comment: At this stage in the life of the Auth package an BC break like this one is highly unlikely to occur. Previous Comments: ------------------------------------------------------------------------ [2010-08-29 10:40:09] mauz Description: ------------ I expect my drawLogin Function, which is called in Auth::login to return the loginForms HTML-Code instead of printing it. Unfortunately this values are not returned from Auth::start() I suggest following code change to Auth::start(): $this->assignData(); if (!$this->checkAuth() && $this->allowLogin) { return $this->login(); <=== here is the added 'return' } ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=17831&edit=1

« previous php.pear.bugs (#4712) next »