dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Swap SET and WHERE statements in ChangeTags::undefineTag
[lhc/web/wiklou.git]
/
includes
/
changetags
/
ChangeTags.php
diff --git
a/includes/changetags/ChangeTags.php
b/includes/changetags/ChangeTags.php
index
3bb777e
..
b5bf488
100644
(file)
--- a/
includes/changetags/ChangeTags.php
+++ b/
includes/changetags/ChangeTags.php
@@
-916,8
+916,8
@@
class ChangeTags {
if ( $wgChangeTagsSchemaMigrationStage > MIGRATION_OLD ) {
$dbw->update(
'change_tag_def',
- [ 'ctd_name' => $tag ],
[ 'ctd_user_defined' => 0 ],
+ [ 'ctd_name' => $tag ],
__METHOD__
);