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
Avoid usage of deprecated setTags() method, use addTags() instead
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialBlock.php
diff --git
a/includes/specials/SpecialBlock.php
b/includes/specials/SpecialBlock.php
index
59d2806
..
3a266f2
100644
(file)
--- a/
includes/specials/SpecialBlock.php
+++ b/
includes/specials/SpecialBlock.php
@@
-1031,7
+1031,7
@@
class SpecialBlock extends FormSpecialPage {
$logId = $logEntry->insert();
if ( !empty( $data['Tags'] ) ) {
- $logEntry->
set
Tags( $data['Tags'] );
+ $logEntry->
add
Tags( $data['Tags'] );
}
$logEntry->publish( $logId );