PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Authentication » LiveUser » Bug #5283

Pear Error getMessage property/method error

Details

Submitted2005-09-02 18:32 UTC
Fromtim at nonfiction dot ca
Assignedlsmith
StatusClosed
PackageLiveUser
PHP Version4.3.11
OSLinux
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;
}