Commit 48b8791e authored by pookey's avatar pookey

fixing Strict standards: Declaration of Doctrine_Connection_Mysql::replace()...

fixing Strict standards: Declaration of Doctrine_Connection_Mysql::replace() should be compatible with that of Doctrine_Connection::replace()
parent 7a5cda86
...@@ -169,7 +169,7 @@ class Doctrine_Connection_Mysql extends Doctrine_Connection_Common { ...@@ -169,7 +169,7 @@ class Doctrine_Connection_Mysql extends Doctrine_Connection_Common {
* *
* @return integer the number of affected rows * @return integer the number of affected rows
*/ */
public function replace($table, $fields) { public function replace($table, array $fields, array $keys) {
$count = count($fields); $count = count($fields);
$query = $values = ''; $query = $values = '';
$keys = $colnum = 0; $keys = $colnum = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment