Commit e5d8eff3 by Crisu83

Fixed a minor bug in Bootstrap::isPluginDisabled (thanks manuel_84).

parent 19886cc5
......@@ -278,7 +278,7 @@ class Bootstrap extends CApplicationComponent
*/
protected function isPluginDisabled($name)
{
return isset($this->plugins[$name]) || (isset($this->plugins[$name]) && $this->plugins[$name] !== false);
return isset($this->plugins[$name]) && $this->plugins[$name] === false;
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment