diff --git a/htdocs/comm/action/fiche.php3 b/htdocs/comm/action/fiche.php3 index 4e58946a235..6237e557914 100644 --- a/htdocs/comm/action/fiche.php3 +++ b/htdocs/comm/action/fiche.php3 @@ -95,7 +95,6 @@ if ($action=='add_action') if ($conf->webcal && $todo_webcal == 'on') { - $webcal = new Webcal(); $webcal->heure = $heurehour . $heuremin . '00'; @@ -114,7 +113,6 @@ if ($action=='add_action') $webcal->add($user, $todo->date, $societe->nom, $libelle); } } - Header("Location: ".DOL_URL_ROOT."/comm/fiche.php3?socid=$socid"); }