diff --git a/include/report.inc.php b/include/report.inc.php index aff43c305..23a07721d 100644 --- a/include/report.inc.php +++ b/include/report.inc.php @@ -61,7 +61,7 @@ if (isset($_POST['update'])) { $rap->from_array($_POST); $rap->save($_POST); - $menu=1; + $menu=0; } if (isset($_POST['upload'])) { @@ -105,7 +105,7 @@ if (isset($_REQUEST["action"]) && $menu == 0) echo ''._("Les lignes vides seront effacées").''; echo ""; } - if ($action=="view") + if ($action=="view" || $action == "record") { echo '
'; $rap->id=$_REQUEST ['fr_id'];