[ticket/294] Handle incorrect check for module_classname

B3P-294
This commit is contained in:
Marc Alexander
2014-07-07 22:54:30 +02:00
parent f46328889f
commit 830305267a

View File

@@ -1114,7 +1114,7 @@ class portal_module
{
$module_classname = $this->request->variable('module_classname', '');
if (!($this->c_class = $this->portal_helper->get_module($module_data['module_classname'])))
if (!($this->c_class = $this->portal_helper->get_module($module_classname)))
{
trigger_error('CLASS_NOT_FOUND', E_USER_ERROR);
}