Skip to content

Commit ad7b31e

Browse files
author
Marius Burkard
committed
- fixed typo
1 parent 20e0107 commit ad7b31e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

interface/lib/classes/plugin.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ private function callPluginEvent($event_name, $data) {
155155
foreach($_SESSION['s']['plugin_cache'][$event_name] as $rec) {
156156
$plugin_name = $rec['plugin'];
157157
$function_name = $rec['function'];
158-
$module_name = $rec['function'];
158+
$module_name = $rec['module'];
159159
if($module_name != '') {
160160
if(strpos($module_name, '..') !== false || strpos($module_name, '/') !== false) {
161161
if($this->debug) $app->log('Module name ' . $module_name . ' contains illegal characters.', LOGLEVEL_DEBUG);

0 commit comments

Comments
 (0)