Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.15

Bug #6048 PEAR_Frontend::log parameters are wrong
Submitted: 2005-11-23 14:20 UTC
From: cweiske at cweiske dot de Assigned: cellog
Status: Closed Package: PEAR
PHP Version: Irrelevant OS: any
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 46 - 18 = ?

 
 [2005-11-23 14:20 UTC] cweiske at cweiske dot de
Description: ------------ PEAR_Common::log tries to check if an ui is registered and calls the log() function of that object: > $ui->log($msg, $append_crlf); However, to be accepted as ui, one must implement PEAR_Frontend which defines the log method as follows: > function log($level, $msg, $append_crlf = true) IMO the definition in PEAR/Frontend.php#log() has to be > function log($msg, $append_crlf = true)

Comments

 [2006-01-02 17:56 UTC] cellog
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.