back to list

This commit is contained in:
Luke Towers 2021-03-06 02:40:18 -06:00
parent c71e1e3e69
commit 3ae78a23ce

View File

@ -218,7 +218,7 @@ class BackendController extends ControllerBase
* Look for a Plugin controller
*/
if (count($params) >= 2) {
[$author, $plugin] = $params;
list($author, $plugin) = $params;
$pluginCode = ucfirst($author) . '.' . ucfirst($plugin);
if (PluginManager::instance()->isDisabled($pluginCode)) {