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 "Improve logging of exceptions which are not thrown but attached to context"
[lhc/web/wiklou.git]
/
includes
/
specials
/
SpecialBlock.php
diff --git
a/includes/specials/SpecialBlock.php
b/includes/specials/SpecialBlock.php
index
93cb377
..
c18ae0e
100644
(file)
--- a/
includes/specials/SpecialBlock.php
+++ b/
includes/specials/SpecialBlock.php
@@
-829,7
+829,7
@@
class SpecialBlock extends FormSpecialPage {
$logEntry->setRelations( [ 'ipb_id' => $blockIds ] );
$logId = $logEntry->insert();
- if (
count
( $data['Tags'] ) ) {
+ if (
!empty
( $data['Tags'] ) ) {
$logEntry->setTags( $data['Tags'] );
}