From: Matthias Schmidt Date: Tue, 26 Jul 2011 09:14:12 +0000 (+0200) Subject: Replaced undefined variable $path X-Git-Tag: 2.0.0_Beta_1~1950^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c27969284e4131390abedd0030d9ecbef83217b8;p=GitHub%2FWoltLab%2FWCF.git Replaced undefined variable $path --- 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;