From:  pear-qa@lists.php.net ("rabbe120@gmail.com")
Date:  14 Feb 2018 20:00:55 Hong Kong Time
Newsgroup:  news.php.net/php.pear.bugs
Subject:  

[PEAR-BUG] Bug #2938 [Com]: Too less arguments in function LiveUser_Auth_PEARAuth(&$connectOptions)

NNTP-Posting-Host:  null

Edit report at https://pear.php.net/bugs/bug.php?id=2938&edit=1

 ID:               2938
 Comment by:       rabbe120 at gmail dot com
 Reported By:      mw210 at gmx dot at
 Summary:          Too less arguments in function
                    LiveUser_Auth_PEARAuth(&$connectOptions)
 Status:           Closed
 Type:             Bug
 Package:          LiveUser
 Operating System: Any
 PHP Version:      Irrelevant
 Assigned To:      lsmith
 Roadmap Versions: 
 New Comment:

I faced this problem on http://topleveltips.com


Previous Comments:
------------------------------------------------------------------------

[2004-12-09 19:08:07] smith at backendmedia dot com

This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pear.php.net.

In case this was a pear.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PEAR better.

------------------------------------------------------------------------

[2004-12-09 15:01:58] mw210 at gmx dot at

Description:
------------
File: PEARAuth.php Rev 1.3
Line: 71

Too less arguments in function 
Line 71 function LiveUser_Auth_PEARAuth(&$connectOptions)

I get an error that the function has only 1 argument in the definition
and the function is called with 2 arguments. 

In DB.php the function LiveUser_Auth_DB has also 2 arguments.

I think the solution should be:

Line 71  function
LiveUser_Auth_PEARAuth(&$connectOptions,$containerName)

I use PEARAuth for LDAP-Connection.

------------------------------------------------------------------------


-- 
Edit this bug report at https://pear.php.net/bugs/bug.php?id=2938&edit=1