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
Merge "RevertAction: Prevent file revert if current version is identical"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialUnblock.php
diff --git
a/includes/specials/SpecialUnblock.php
b/includes/specials/SpecialUnblock.php
index
cc7a091
..
cff8bf4
100644
(file)
--- a/
includes/specials/SpecialUnblock.php
+++ b/
includes/specials/SpecialUnblock.php
@@
-238,7
+238,9
@@
class SpecialUnblock extends SpecialPage {
$logEntry->setTarget( $page );
$logEntry->setComment( $data['Reason'] );
$logEntry->setPerformer( $performer );
$logEntry->setTarget( $page );
$logEntry->setComment( $data['Reason'] );
$logEntry->setPerformer( $performer );
- $logEntry->setTags( $data['Tags'] );
+ if ( isset( $data['Tags'] ) ) {
+ $logEntry->setTags( $data['Tags'] );
+ }
$logId = $logEntry->insert();
$logEntry->publish( $logId );
$logId = $logEntry->insert();
$logEntry->publish( $logId );