Fix: Quand on crée une société, on saut à l'affiche de page de la société directement sans passer par code non approprié.
This commit is contained in:
parent
1a4ee701a1
commit
24d8b2bbef
@ -22,7 +22,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
/** \file htdocs/soc.php
|
||||
/**
|
||||
\file htdocs/soc.php
|
||||
\ingroup societe
|
||||
\brief Onglet societe d'une societe
|
||||
\version $Revision$
|
||||
@ -92,6 +93,7 @@ if (($_POST["action"] == 'add' && (! defined(COMPANY_CREATE_TWO_STEPS) || $step
|
||||
else
|
||||
{
|
||||
Header("Location: soc.php?socid=".$_GET["socid"]);
|
||||
exit;
|
||||
}
|
||||
|
||||
}
|
||||
@ -103,6 +105,7 @@ if (($_POST["action"] == 'add' && (! defined(COMPANY_CREATE_TWO_STEPS) || $step
|
||||
if ($result == 0)
|
||||
{
|
||||
Header("Location: soc.php?socid=".$soc->id);
|
||||
exit;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user