diff --git a/public_html/custom_action.php b/public_html/custom_action.php index c886bb5f..bf9870f0 100644 --- a/public_html/custom_action.php +++ b/public_html/custom_action.php @@ -44,7 +44,7 @@ if(LSsession :: startLSsession()) { if (isset($_GET['valid']) || $config['noConfirmation']) { $objectname=$object -> getDisplayName(); LStemplate :: assign('pagetitle',$title.' : '.$objectname); - if (call_user_func($config['function'],$object)) { + if (call_user_func_array($config['function'],array(&$object))) { if ($config['disableOnSuccessMsg']!=true) { if ($config['onSuccessMsgFormat']) { LSsession :: addInfo(getFData(__($config['onSuccessMsgFormat']),$objectname));