Browse Source

Merge pull request #17234 from kolorafa/base-on-3.x-branch

Fix BasePlugin.php enable hook typo for 3.x
Mark Scherer 2 years ago
parent
commit
ffe95db83c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Core/BasePlugin.php

+ 1 - 1
src/Core/BasePlugin.php

@@ -175,7 +175,7 @@ class BasePlugin implements PluginInterface
     public function enable($hook)
     {
         $this->checkHook($hook);
-        $this->{"{$hook}Enabled}"} = true;
+        $this->{"{$hook}Enabled"} = true;
 
         return $this;
     }