PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

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;
}