Merge pull request #21808 from Humml87/develop_Fix_MO_Agenda_Button_backtopage
Fix: Parameter "backtopage" on AddEvent Button
This commit is contained in:
commit
a93c142e3a
@ -209,7 +209,7 @@ if ($object->id > 0) {
|
|||||||
if (get_class($objthirdparty) == 'Societe') {
|
if (get_class($objthirdparty) == 'Societe') {
|
||||||
$out .= '&socid='.$objthirdparty->id;
|
$out .= '&socid='.$objthirdparty->id;
|
||||||
}
|
}
|
||||||
$out .= (!empty($objcon->id) ? '&contactid='.$objcon->id : '').'&backtopage=1&percentage=-1';
|
$out .= (!empty($objcon->id) ? '&contactid='.$objcon->id : '').'&backtopage='.urlencode($_SERVER["PHP_SELF"].'?id='.$object->id).'&percentage=-1';
|
||||||
//$out.=$langs->trans("AddAnAction").' ';
|
//$out.=$langs->trans("AddAnAction").' ';
|
||||||
//$out.=img_picto($langs->trans("AddAnAction"),'filenew');
|
//$out.=img_picto($langs->trans("AddAnAction"),'filenew');
|
||||||
//$out.="</a>";
|
//$out.="</a>";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user