Fix: Bad link

This commit is contained in:
Laurent Destailleur 2008-05-27 09:20:02 +00:00
parent 0c37980f91
commit af144bef23
2 changed files with 3 additions and 2 deletions

View File

@ -70,7 +70,7 @@ if ($_POST["action"] == 'add_action')
if (! $backtopage) if (! $backtopage)
{ {
if ($_POST['socid'] > 0) $backtopage=DOL_URL_ROOT.'/comm/fiche.php?socid='.$_POST['socid']; if ($_POST['socid'] > 0) $backtopage=DOL_URL_ROOT.'/comm/fiche.php?socid='.$_POST['socid'];
else $backtopage=DOL_URL_ROOT.'/comm/action/indexactions.php'; else $backtopage=DOL_URL_ROOT.'/comm/action/index.php';
} }
header("Location: ".$backtopage); header("Location: ".$backtopage);
exit; exit;

View File

@ -18,9 +18,10 @@
/** /**
\file htdocs/comm/action/indexactions.php \file htdocs/comm/action/indexactions.php
\ingroup agenda \ingroup agenda
\brief Actions area \brief Actions area
\version $Id$ \version $Id$
\TODO This file is deprecated. Not more reach.
*/ */
require_once("./pre.inc.php"); require_once("./pre.inc.php");