From c27969284e4131390abedd0030d9ecbef83217b8 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Tue, 26 Jul 2011 11:14:12 +0200 Subject: [PATCH] Replaced undefined variable $path --- wcfsetup/install/files/lib/system/event/EventHandler.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/event/EventHandler.class.php b/wcfsetup/install/files/lib/system/event/EventHandler.class.php index 7745ac6c31..86bf6fede0 100644 --- a/wcfsetup/install/files/lib/system/event/EventHandler.class.php +++ b/wcfsetup/install/files/lib/system/event/EventHandler.class.php @@ -172,7 +172,7 @@ class EventHandler extends SingletonFactory { } $object = new $action['listenerClassName']; - $this->listenerObjects[$path] = $object; + $this->listenerObjects[$action['listenerClassName']] = $object; } $this->actionsObjects[$name][$action['listenerClassName']] = $object; -- 2.20.1