mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-18 16:19:06 +01:00
custom_action : Use call_user_func_array() instead of call_user_func() to permit pass arg by reference
This commit is contained in:
parent
251cb2b0e2
commit
e226ebe684
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ if(LSsession :: startLSsession()) {
|
||||||
if (isset($_GET['valid']) || $config['noConfirmation']) {
|
if (isset($_GET['valid']) || $config['noConfirmation']) {
|
||||||
$objectname=$object -> getDisplayName();
|
$objectname=$object -> getDisplayName();
|
||||||
LStemplate :: assign('pagetitle',$title.' : '.$objectname);
|
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['disableOnSuccessMsg']!=true) {
|
||||||
if ($config['onSuccessMsgFormat']) {
|
if ($config['onSuccessMsgFormat']) {
|
||||||
LSsession :: addInfo(getFData(__($config['onSuccessMsgFormat']),$objectname));
|
LSsession :: addInfo(getFData(__($config['onSuccessMsgFormat']),$objectname));
|
||||||
|
|
Loading…
Reference in a new issue