From ff2fc6510661ba0675246c45488f385fcd878fca Mon Sep 17 00:00:00 2001 From: sparkyx Date: Mon, 4 Jul 2005 22:26:41 +0000 Subject: [PATCH] Task #4359 : Fix problem in annulation.php --- html/annulation.php | 8 +++----- include/constant.php | 4 ++-- include/user_common.php | 4 ++-- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/html/annulation.php b/html/annulation.php index d3cb2854f..04ef83e60 100644 --- a/html/annulation.php +++ b/html/annulation.php @@ -39,11 +39,9 @@ if ( ! isset ( $_SESSION['g_dossier'] ) ) { exit -2; } -if ( isset( $p_jrn )) { - $p_jrn=$p_jrn; - $_SESSION["p_jrn"]=$p_jrn; - -} +if ( isset( $_GET['p_jrn'] )) { + $p_jrn=$_GET['p_jrn']; + } // Check privilege // CheckJrn verify that the user is not an admin diff --git a/include/constant.php b/include/constant.php index 8cf340d83..16cd35ecd 100644 --- a/include/constant.php +++ b/include/constant.php @@ -168,9 +168,9 @@ define ("JS_VIEW_JRN_DETAIL",""); -define ("JS_VIEW_JRN_CANCEL","