Skip to content

Commit

Permalink
Upgrading to php8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
KilMer56 committed Aug 24, 2023
1 parent f6a2950 commit 9813a68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SpecialPage/SpecialNetworkNotice.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function execute( $par ) {
}
$output = $this->getOutput();
$this->setHeaders();
$params = explode( '/', $par );
$params = explode( '/', $par ?? '' );
$isEdit = $params[ 0 ] === 'edit'
&& isset( $params[ 1 ] )
&& !empty( $params[ 1 ] );
Expand Down

0 comments on commit 9813a68

Please sign in to comment.