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 » DB_DataObject » Bug #819

Call to undefined function: quoteentity()

Details

Submitted2004-02-21 15:29 UTC
Fromdragun at yegon dot sk
StatusNo Feedback
PackageDB_DataObject
PHP Version4.3.2
OSDebian Linux
Roadmaps(Not assigned)

Comments

[2004-02-21 15:29 UTC] dragun at yegon dot sk

Description:
------------
when using quote_entities = 1 the sql statements are not built and an error occurs

Fatal error: Call to undefined function: quoteentity() in /usr/local/share/pear/DB/DataObject.php on line 381

it started working when I manually replaced all occurances of
$DB->quoteEntity with $DB->quoteIdentifier

I am using mysql with DataObjects and could not find the function quoteEntity in the module