From: jeroendedauw Date: Wed, 29 May 2013 18:27:23 +0000 (+0200) Subject: Fix bad copy-paste error in deprecated method X-Git-Tag: 1.31.0-rc.0~19458^2 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=4254c2d11579c291f5123331c3a9d3b1caf33bdc;p=lhc%2Fweb%2Fwiklou.git Fix bad copy-paste error in deprecated method Instead of passing the conditions to the update method, it was passing the write values. Bug: 48782 Change-Id: I3d67e2b8f1d80865a21799873d7ca239db6e9678 --- diff --git a/includes/db/ORMRow.php b/includes/db/ORMRow.php index ea6ff63848..b21ce40fe0 100644 --- a/includes/db/ORMRow.php +++ b/includes/db/ORMRow.php @@ -369,7 +369,7 @@ class ORMRow implements IORMRow { $success = $dbw->update( $this->table->getName(), $this->getWriteValues(), - $this->table->getPrefixedValues( $this->getWriteValues() ), + $this->table->getPrefixedValues( $this->getUpdateConditions() ), is_null( $functionName ) ? __METHOD__ : $functionName );