bugfix
This commit is contained in:
parent
adbee91219
commit
080e6ffd4b
@ -26,7 +26,7 @@ require("./pre.inc.php");
|
|||||||
|
|
||||||
$mesg = '';
|
$mesg = '';
|
||||||
|
|
||||||
llxHeader("","","Fiche entrepôt");
|
|
||||||
|
|
||||||
if ($_POST["action"] == 'add')
|
if ($_POST["action"] == 'add')
|
||||||
{
|
{
|
||||||
@ -38,7 +38,7 @@ if ($_POST["action"] == 'add')
|
|||||||
$entrepot->statut = $_POST["statut"];
|
$entrepot->statut = $_POST["statut"];
|
||||||
|
|
||||||
$id = $entrepot->create($user);
|
$id = $entrepot->create($user);
|
||||||
$action = '';
|
Header("Location: fiche.php?id=$id");
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($_POST["action"] == 'update' && $_POST["cancel"] <> 'Annuler')
|
if ($_POST["action"] == 'update' && $_POST["cancel"] <> 'Annuler')
|
||||||
@ -69,6 +69,8 @@ if ($_POST["action"] == 'update' && $_POST["cancel"] <> 'Annuler')
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
llxHeader("","","Fiche entrepôt");
|
||||||
|
|
||||||
if ($cancel == 'Annuler')
|
if ($cancel == 'Annuler')
|
||||||
{
|
{
|
||||||
$action = '';
|
$action = '';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user