From 1ff9898630c2aa30d68959fd64467b0b77ea7bcb Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Tue, 1 Nov 2011 00:38:37 +0000 Subject: [PATCH] fix bug : update PJ --- html/get_pj.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/html/get_pj.php b/html/get_pj.php index c449c4a30..4573e75d0 100644 --- a/html/get_pj.php +++ b/html/get_pj.php @@ -23,10 +23,10 @@ /*!\file * \brief respond ajax request, the get contains * the value : - * - l for ledger + * - l for ledger * - gDossier * Must return at least tva, htva and tvac - + */ require_once ('constant.php'); @@ -46,7 +46,7 @@ foreach (array('l','gDossier') as $a) } } -if ( is_integer($l) == false ) +if ( is_numeric($l) == false ) { exit(); }