Fix enable extension in EntensionManager

This commit is contained in:
Johann Rodríguez 2015-09-01 12:09:11 +01:00
parent 753a846e7a
commit e35bb9e400

View File

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