cvs: pear /MDB pear_wrapper.php

From: Date: Fri, 17 May 2002 14:09:05 +0000
Subject: cvs: pear /MDB pear_wrapper.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-3892@lists.php.net to get a copy of this message
lsmith Fri May 17 10:09:05 2002 EDT Modified files: /pear/MDB pear_wrapper.php Log: quote() und quoteString() liefern jetzt den string zurueck Index: pear/MDB/pear_wrapper.php diff -u pear/MDB/pear_wrapper.php:1.3 pear/MDB/pear_wrapper.php:1.4 --- pear/MDB/pear_wrapper.php:1.3 Thu May 16 15:28:02 2002 +++ pear/MDB/pear_wrapper.php Fri May 17 10:09:04 2002 @@ -1,7 +1,7 @@ <?php /* * - * @(#) $Header: /usr/repository/pear/MDB/pear_wrapper.php,v 1.3 2002/05/16 19:28:02 lsmith Exp $ + * @(#) $Header: /usr/repository/pear/MDB/pear_wrapper.php,v 1.4 2002/05/17 14:09:04 lsmith Exp $ * */ @@ -19,7 +19,7 @@ if (!is_array($options) && $options) { $$options["persistent"] = true; } - $db = MDB::connect($dsn, $options); + $db = MDB::connect($dsn, $options); if(PEAR::isError($db)) { return $db; @@ -189,12 +189,14 @@ function quoteString($string) { - return $this->MDB_object->quoteString($string); + $this->MDB_object->quoteString($string); + return $string; } function quote($string) { - return $this->MDB_object->quote($string); + $this->MDB_object->quote($string); + return $string; } function provides($feature)

« previous php.pear.cvs (#3892) next »