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","