dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
703206f
)
Fix bad copy-paste error in deprecated method
author
jeroendedauw
<jeroendedauw@gmail.com>
Wed, 29 May 2013 18:27:23 +0000
(20:27 +0200)
committer
Jeroen De Dauw
<jeroendedauw@gmail.com>
Sat, 1 Jun 2013 00:43:16 +0000
(
00:43
+0000)
Instead of passing the conditions to the update method, it was passing the write values.
Bug: 48782
Change-Id: I3d67e2b8f1d80865a21799873d7ca239db6e9678
includes/db/ORMRow.php
patch
|
blob
|
history
diff --git
a/includes/db/ORMRow.php
b/includes/db/ORMRow.php
index
ea6ff63
..
b21ce40
100644
(file)
--- 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->get
WriteValue
s() ),
+ $this->table->getPrefixedValues( $this->get
UpdateCondition
s() ),
is_null( $functionName ) ? __METHOD__ : $functionName
);