Skip to content

Commit

Permalink
Fix Undefined index: sanctions
Browse files Browse the repository at this point in the history
  • Loading branch information
lens0021 committed Jul 3, 2020
1 parent 549fe8d commit 41e8ab3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions includes/FemiwikiTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ public function getToolboxData() {

if ( version_compare( MW_VERSION, '1.35', '<' ) ) {
if ( ExtensionRegistry::getInstance()->isLoaded( 'Sanctions' )
&& $this->getSkin()->getRelevantUser()
&& isset( $this->data['sidebar']['TOOLBOX']['sanctions'] ) ) {
$toolbox = wfArrayInsertAfter(
$toolbox,
Expand Down
2 changes: 1 addition & 1 deletion skin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Femiwiki",
"version": "1.1.1",
"version": "1.1.2",
"author": "[https://femiwiki.com/ Femiwiki Team]",
"url": "https://github.com/femiwiki/FemiwikiSkin",
"descriptionmsg": "femiwiki-desc",
Expand Down

0 comments on commit 41e8ab3

Please sign in to comment.