1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-02 14:57:37 +02:00

Merge pull request #4816 from javiexin/ticket/15202

[ticket/15202] To disable, an extension must be enabled
This commit is contained in:
Marc Alexander
2017-04-30 20:36:12 -04:00

View File

@@ -262,8 +262,8 @@ class manager
*/ */
public function disable_step($name) public function disable_step($name)
{ {
// ignore extensions that are already disabled // ignore extensions that are not enabled
if ($this->is_disabled($name)) if (!$this->is_enabled($name))
{ {
return false; return false;
} }