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  


 [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.