From 0a1099c6f62db325a249733cc0b9fbcf01fb7b8d Mon Sep 17 00:00:00 2001 From: Raam Dev Date: Sun, 11 Oct 2015 19:25:55 -0400 Subject: [PATCH] Fix bug where $skin->plugin_active may be undefined. See websharks/zencache#589 --- src/includes/closures/Plugin/WcpUpdaterUtils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/includes/closures/Plugin/WcpUpdaterUtils.php b/src/includes/closures/Plugin/WcpUpdaterUtils.php index d16122bc..d6455c49 100644 --- a/src/includes/closures/Plugin/WcpUpdaterUtils.php +++ b/src/includes/closures/Plugin/WcpUpdaterUtils.php @@ -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) {