aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
authorjaviexin <javiexin@gmail.com>2017-04-28 23:47:51 +0200
committerjaviexin <javiexin@gmail.com>2017-04-28 23:47:51 +0200
commit1e8f4679642627cca3d678611ea72e3837739274 (patch)
treed829b20c352cc9b0b6047a15e9257d731699afe6 /phpBB/phpbb
parentad5fcd535630b9a93333bb6e16bc84bff8f103ae (diff)
downloadforums-1e8f4679642627cca3d678611ea72e3837739274.tar
forums-1e8f4679642627cca3d678611ea72e3837739274.tar.gz
forums-1e8f4679642627cca3d678611ea72e3837739274.tar.bz2
forums-1e8f4679642627cca3d678611ea72e3837739274.tar.xz
forums-1e8f4679642627cca3d678611ea72e3837739274.zip
[ticket/15202] To disable, an extension must be enabled
PHPBB3-15202
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r--phpBB/phpbb/extension/manager.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/extension/manager.php b/phpBB/phpbb/extension/manager.php
index 00aa2c6826..4b4109bd85 100644
--- a/phpBB/phpbb/extension/manager.php
+++ b/phpBB/phpbb/extension/manager.php
@@ -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;
}