From 4254c2d11579c291f5123331c3a9d3b1caf33bdc Mon Sep 17 00:00:00 2001 From: jeroendedauw Date: Wed, 29 May 2013 20:27:23 +0200 Subject: [PATCH] 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 --- includes/db/ORMRow.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.20.1