noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 06/06: Task #1214 - REPORT : mise à jour ren


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 06/06: Task #1214 - REPORT : mise à jour renvoit à liste #1214 : update must not return to list
Date: Fri, 06 Nov 2015 18:06:38 +0000

sparkyx pushed a commit to branch master
in repository noalyss.

commit 20cf9fef23ea832a94b62cf67f03a7c7dcace01f
Author: Dany De Bontridder <address@hidden>
Date:   Fri Nov 6 19:00:22 2015 +0100

    Task #1214 - REPORT : mise à jour renvoit à liste
    #1214 : update must not return to list
---
 include/report.inc.php |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/report.inc.php b/include/report.inc.php
index aff43c3..23a0772 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 '<span class="notice">'._("Les lignes vides seront 
effacées").'</span>';
         echo "</DIV>";
     }
-    if ($action=="view")
+    if ($action=="view" || $action == "record")
     {
         echo '<DIV class="content">';
         $rap->id=$_REQUEST ['fr_id'];



reply via email to

[Prev in Thread] Current Thread [Next in Thread]