Fix variable name in EventListenerPIP
authorMatthias Schmidt <gravatronics@live.com>
Sat, 23 May 2015 05:41:28 +0000 (07:41 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sat, 23 May 2015 05:41:28 +0000 (07:41 +0200)
wcfsetup/install/files/lib/system/package/plugin/EventListenerPackageInstallationPlugin.class.php

index d07470bc1a6e50b1b8013373caced5a4c62f0140..63e946e987f14183114e4c58b2e0a70bac6353a2 100644 (file)
@@ -42,7 +42,7 @@ class EventListenerPackageInstallationPlugin extends AbstractXMLPackageInstallat
                                (isset($item['elements']['environment']) ? $item['elements']['environment'] : 'user'),
                                $item['elements']['eventclassname'],
                                $item['elements']['eventname'],
-                               (isset($data['elements']['inherit'])) ? $data['elements']['inherit'] : 0,
+                               (isset($item['elements']['inherit'])) ? $item['elements']['inherit'] : 0,
                                $item['elements']['listenerclassname']
                        ));
                }