[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 02/03: bug in show_pj.php
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 02/03: bug in show_pj.php |
Date: |
Sat, 24 Jan 2015 16:33:39 +0000 |
sparkyx pushed a commit to tag rel6800
in repository noalyss.
commit 8b714d863e34f805533d056847bcfc66df533d06
Author: Dany De Bontridder <address@hidden>
Date: Sat Jan 10 18:45:49 2015 +0100
bug in show_pj.php
---
html/show_pj.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/html/show_pj.php b/html/show_pj.php
index faf4841..9b0111e 100644
--- a/html/show_pj.php
+++ b/html/show_pj.php
@@ -45,7 +45,7 @@ global $g_user;
$g_user=new User($cn);
$g_user->Check();
$g_user->check_dossier($gDossier);
-if ( isNumber($jr_grpt_id) != 0 ) die (_('Données invalides'));
+if ( isNumber($jr_grpt_id) != 1 ) die (_('Données invalides'));
// retrieve the jrn
$r=$cn->exec_sql("select jr_def_id from jrn where jr_grpt_id=$jr_grpt_id");