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

Bug #5283 Pear Error getMessage property/method error
Submitted: 2005-09-02 18:32 UTC
From: tim at nonfiction dot ca Assigned: lsmith
Status: Closed Package: LiveUser
PHP Version: 4.3.11 OS: Linux
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 : 48 - 24 = ?

 
 [2005-09-02 18:32 UTC] tim at nonfiction dot ca
Description: ------------ Using LiveUser 0.16.6, updated this morning In the Perm DB Storage Container, Pear Error 'getMessage' being called as a property instead of as a method Test script: --------------- Line 145: if (PEAR::isError($result)) { $this->_stack->push(LIVEUSER_ERROR, 'exception', array(), 'error in query' . $result->getMessage . '-' . $result->getUserInfo()); return false; } Sould be: if (PEAR::isError($result)) { $this->_stack->push(LIVEUSER_ERROR, 'exception', array(), 'error in query' . $result->getMessage() . '-' . $result->getUserInfo()); return false; }

Comments

 [2005-09-02 22:09 UTC] lsmith
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.