Skip to content

Commit

Permalink
Update ManageWikiExtensions.php
Browse files Browse the repository at this point in the history
  • Loading branch information
paladox authored Nov 11, 2024
1 parent 0bbe017 commit 0955f96
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion includes/Helpers/ManageWikiExtensions.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ public function remove( $extensions, $forceRemove ) {
continue;
}

$this->removedExts[$ext] = $this->liveExts[$ext];
$this->removedExts[$ext] = isset( $this->liveExts[$ext] ) ?
$this->liveExts[$ext] : [];
unset( $this->liveExts[$ext] );

$this->changes[$ext] = [
Expand Down

0 comments on commit 0955f96

Please sign in to comment.