RE: [PEAR] Auth package bug?
| From: | Denis Gerasimov | Date: | Mon, 29 Nov 2004 07:53:00 +0000 |
| Subject: | RE: [PEAR] Auth package bug? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-15884@lists.php.net to get a copy of this message | ||
Well, maybe it's time to make a new release. Don't you think so?
Thanks.
Best regards, Denis Gerasimov
Outsourcing Services Manager,
VEKOS, Ltd.
www.vekos.ru
> -----Original Message-----
> From: Piotr Klaban [mailto:makler+pear-general@man.torun.pl]
> Sent: Friday, November 26, 2004 12:52 PM
> To: Denis Gerasimov
> Cc: PEAR General List
> Subject: Re: [PEAR] Auth package bug?
>
> On Fri, Nov 26, 2004 at 11:51:25AM +0300, Denis Gerasimov wrote:
> > Warning: Call-time pass-by-reference has been deprecated - argument
> passed
> > by value; If you would like to pass it by reference, modify the
> declaration
> > of [runtime function name](). If you would like to enable call-time
> > pass-by-reference, you can set allow_call_time_pass_reference to true in
> > your INI file. However, future versions may not support this any longer.
> in
> > C:\Program Files\PHP5\PEAR\Auth.php on line 430
> >
> > Is that Auth package bug or this may be the result of my mistake
> somewhere?
>
> This bug (#2395) has been fixed in CVS
> (http://cvs.php.net/pear/Auth/Auth.php):
>
> diff -p --unified=3 -r1.93 -r1.94
> --- Auth.php2004/08/31 06:48:221.93
> +++ Auth.php2004/10/04 09:28:461.94
> [...]
> @@ -427,7 +427,7 @@ class Auth {
> // BC fix Auth used to use drawLogin for this
> // call is sub classes implement this
> if(is_callable(array(&$this, 'drawLogin'))) {
> - return $this->drawLogin($this->username, &$this);
> + return $this->drawLogin($this->username, $this);
> }
>
> Best regards,
>
> --
> Piotr Klaban
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php