1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-01-19 15:17:16 +01:00

[ticket/15202] To disable, an extension must be enabled

PHPBB3-15202
This commit is contained in:
javiexin 2017-04-28 23:47:51 +02:00
parent ad5fcd5356
commit 1e8f467964

View File

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