Browse Source

Merge pull request #10515 from Theaxiom/patch-2

Update Plugin.php
Mark Sch 9 years ago
parent
commit
bde81dfcfe
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Core/Plugin.php

+ 1 - 1
src/Core/Plugin.php

@@ -113,7 +113,7 @@ class Plugin
     {
         if (is_array($plugin)) {
             foreach ($plugin as $name => $conf) {
-                list($name, $conf) = (is_numeric($name)) ? [$conf, $config] : [$name, $conf];
+                list($name, $conf) = is_numeric($name) ? [$conf, $config] : [$name, $conf];
                 static::load($name, $conf);
             }