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 » Database » MDB2_Schema » Bug #9861

Call to undefined method

Details

Submitted2007-01-18 02:50 UTC
Fromweblogik at hotmail dot com
Assignedquipo
StatusDuplicate
PackageMDB2_Schema
PHP Version5.1.4
OSwindows xp sp2
Roadmaps(Not assigned)

Comments

[2007-01-18 02:50 UTC] weblogik at hotmail dot com

Description:
------------
Hi, i tryed one of yhe examples in LiveUser package and i
had to populate the database with the file demodata.php. But when i executed the file, i got this error :

Fatal error: Call to undefined method MDB2_Schema::quoteIdentifier() in C:\PHP\pear\MDB2\Schema.php on line 988

so i modified in lines 988 & 990 :
$this- >quoteIdentifier($table, true);

to :
$this- >db->quoteIdentifier($table, true);

and everything worked !!! is this normal?