Replaced undefined variable $path
authorMatthias Schmidt <gravatronics@live.com>
Tue, 26 Jul 2011 09:14:12 +0000 (11:14 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Tue, 26 Jul 2011 09:14:12 +0000 (11:14 +0200)
wcfsetup/install/files/lib/system/event/EventHandler.class.php

index 7745ac6c31404417296081b4c735c5ae339831c1..86bf6fede0eb019912d1cdb49ed30c2b9bfc2f88 100644 (file)
@@ -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;