Skip to content

Commit

Permalink
Fix bug where $skin->plugin_active may be undefined.
Browse files Browse the repository at this point in the history
  • Loading branch information
raamdev committed Oct 11, 2015
1 parent 8b10336 commit 0a1099c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/includes/closures/Plugin/WcpUpdaterUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
}
}
unset($_plugin); // Housekeeping.
} elseif ($single_plugin_update && $skin->plugin_active === true) {
} elseif ($single_plugin_update && is_plugin_active($data['plugin'])) {
$upgrading_active_plugin = true;
}
if ($upgrading_active_plugin) {
Expand Down

0 comments on commit 0a1099c

Please sign in to comment.