1
0
mirror of synced 2024-12-13 14:56:01 +03:00

fixing Strict standards: Declaration of Doctrine_Connection_Mysql::replace() should be compatible with that of Doctrine_Connection::replace()

This commit is contained in:
pookey 2006-11-20 01:46:12 +00:00
parent 7a5cda86c2
commit 48b8791e17

View File

@ -169,7 +169,7 @@ class Doctrine_Connection_Mysql extends Doctrine_Connection_Common {
*
* @return integer the number of affected rows
*/
public function replace($table, $fields) {
public function replace($table, array $fields, array $keys) {
$count = count($fields);
$query = $values = '';
$keys = $colnum = 0;