mirror of
https://github.com/e107inc/e107.git
synced 2025-04-22 13:41:52 +02:00
Fixes Issue #424
This commit is contained in:
parent
1d310f5f31
commit
9464a40e70
@ -999,7 +999,8 @@ class e_parse_shortcode
|
||||
|
||||
if (class_exists($_class, false)) // prevent __autoload - performance
|
||||
{
|
||||
$ret = call_user_func(array($_class, $_function), array($parm, $sc_mode));
|
||||
// SecretR - fix array(parm, sc_mode) causing parm to become an array, see issue 424
|
||||
$ret = call_user_func(array($_class, $_function), $parm, $sc_mode);
|
||||
}
|
||||
elseif (function_exists($_function))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user