mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
N°729 Form prefill : Minor fix for prefillSeachForm
SVN:trunk[5665]
This commit is contained in:
@@ -303,14 +303,9 @@ try
|
||||
$aPrefillFormParam = array( 'user' => $_SESSION["auth_user"],
|
||||
'context' => $oAppContext->GetAsHash(),
|
||||
'att_code' => $sAttCode,
|
||||
'origin' => 'console'
|
||||
'origin' => 'console',
|
||||
'source_obj' => $oObj
|
||||
);
|
||||
if (!empty($sJson))
|
||||
{
|
||||
$oWizardHelper = WizardHelper::FromJSON($sJson);
|
||||
$oSourceObj = $oWizardHelper->GetTargetObject();
|
||||
$aPrefillFormParam['source_obj'] = $oSourceObj;
|
||||
}
|
||||
$aAlreadyLinked = utils::ReadParam('aAlreadyLinked', array());
|
||||
$oWidget->GetObjectPickerDialog($oPage, $oObj, $sJson, $aAlreadyLinked, $aPrefillFormParam);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user