X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialMovepage.php;h=8b5562f9c713f9cf0fdee1c1e59d11527cfdc386;hb=e7d13e88b8832af90ea02d0502609b267ec4a51d;hp=0234507a13a9b22e68bcc02be8e291463e58796e;hpb=0abb9338f870824e258a7a138ad07efbaa6b3894;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialMovepage.php b/includes/specials/SpecialMovepage.php index 0234507a13..8b5562f9c7 100644 --- a/includes/specials/SpecialMovepage.php +++ b/includes/specials/SpecialMovepage.php @@ -75,7 +75,7 @@ class MovePageForm extends UnlistedSpecialPage { $this->outputHeader(); $request = $this->getRequest(); - $target = !is_null( $par ) ? $par : $request->getVal( 'target' ); + $target = $par ?? $request->getVal( 'target' ); // Yes, the use of getVal() and getText() is wanted, see T22365