From c20183c5470aeb913486d637daf9db1f9d64c87b Mon Sep 17 00:00:00 2001 From: slawkens Date: Mon, 10 Feb 2020 22:43:38 +0100 Subject: [PATCH] extract params in the Hook->execute method --- system/hooks.php | 1 + 1 file changed, 1 insertion(+) diff --git a/system/hooks.php b/system/hooks.php index d976f0fa..a937ec79 100644 --- a/system/hooks.php +++ b/system/hooks.php @@ -40,6 +40,7 @@ class Hook public function execute($params) { + extract($params); /*if(is_callable($this->_callback)) { $tmp = $this->_callback;