Fix: Quand on cre une socit, on saut l'affiche de page de la socit 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
|
\ingroup societe
|
||||||
\brief Onglet societe d'une societe
|
\brief Onglet societe d'une societe
|
||||||
\version $Revision$
|
\version $Revision$
|
||||||
@ -92,6 +93,7 @@ if (($_POST["action"] == 'add' && (! defined(COMPANY_CREATE_TWO_STEPS) || $step
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
Header("Location: soc.php?socid=".$_GET["socid"]);
|
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)
|
if ($result == 0)
|
||||||
{
|
{
|
||||||
Header("Location: soc.php?socid=".$soc->id);
|
Header("Location: soc.php?socid=".$soc->id);
|
||||||
|
exit;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user