X-Git-Url: https://git.cyclocoop.org/%242?a=blobdiff_plain;f=includes%2FBlock.php;h=a7d89e23cd0f93801eaf0440d5a714a61d72b2b0;hb=1360a2884ac2ce44b1a81df9fef96b72853c845e;hp=1d2e3417ab996ce550093a2f7707d032a9d744cd;hpb=939bd15d960b39a089f10a7db62220d48fe165a5;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Block.php b/includes/Block.php index 1d2e3417ab..a7d89e23cd 100644 --- a/includes/Block.php +++ b/includes/Block.php @@ -1641,7 +1641,7 @@ class Block { $reason, $context->getRequest()->getIP(), $this->getByName(), - $systemBlockType !== null ? $systemBlockType : $this->getId(), + $systemBlockType ?? $this->getId(), $lang->formatExpiry( $this->mExpiry ), (string)$intended, $lang->userTimeAndDate( $this->mTimestamp, $context->getUser() ),