Skip to content
Snippets Groups Projects
Commit ad7b31e6 authored by Marius Burkard's avatar Marius Burkard
Browse files

- fixed typo

parent 20e0107a
No related branches found
No related tags found
No related merge requests found
......@@ -155,7 +155,7 @@ class plugin {
foreach($_SESSION['s']['plugin_cache'][$event_name] as $rec) {
$plugin_name = $rec['plugin'];
$function_name = $rec['function'];
$module_name = $rec['function'];
$module_name = $rec['module'];
if($module_name != '') {
if(strpos($module_name, '..') !== false || strpos($module_name, '/') !== false) {
if($this->debug) $app->log('Module name ' . $module_name . ' contains illegal characters.', LOGLEVEL_DEBUG);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment