Merge pull request #402 from johannsa/master

Fixes enable extension in EntensionManager
This commit is contained in:
Franz Liedke 2015-09-01 14:58:58 +02:00
commit 25141c0f2f

View File

@ -49,6 +49,8 @@ class ExtensionManager
public function enable($extension) public function enable($extension)
{ {
if (! $this->isEnabled($extension)) { if (! $this->isEnabled($extension)) {
$enabled = $this->getEnabled();
$enabled[] = $extension; $enabled[] = $extension;
$class = $this->load($extension); $class = $this->load($extension);