mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 21:27:25 +02:00
Fixes Issue #424
This commit is contained in:
@@ -999,7 +999,8 @@ class e_parse_shortcode
|
|||||||
|
|
||||||
if (class_exists($_class, false)) // prevent __autoload - performance
|
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))
|
elseif (function_exists($_function))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user