Home » Authentication » LiveUser » Bug #5283
Pear Error getMessage property/method error
Details
| 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) |
Comments
[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;
}