Fix: Go back to tab agenda after creating an event
This commit is contained in:
parent
c4d4bfd922
commit
ed22103ab3
@ -68,7 +68,7 @@ if ($_POST["action"] == 'add_action')
|
|||||||
if (! empty($_POST["backtopage"])) $backtopage=$_POST["backtopage"];
|
if (! empty($_POST["backtopage"])) $backtopage=$_POST["backtopage"];
|
||||||
if (! $backtopage)
|
if (! $backtopage)
|
||||||
{
|
{
|
||||||
if ($socid > 0) $backtopage = DOL_URL_ROOT.'/comm/fiche.php?socid='.$socid;
|
if ($socid > 0) $backtopage = DOL_URL_ROOT.'/societe/agenda.php?socid='.$socid;
|
||||||
else $backtopage=DOL_URL_ROOT.'/comm/action/index.php';
|
else $backtopage=DOL_URL_ROOT.'/comm/action/index.php';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user