From 0a9575304e726eacf769743aabb08b144dfd9d6a Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Fri, 18 Jun 2010 22:22:33 +0000 Subject: [PATCH] Impress -> category Add a check on the date --- include/impress_fiche.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/impress_fiche.inc.php b/include/impress_fiche.inc.php index bc7300608..d7f479712 100644 --- a/include/impress_fiche.inc.php +++ b/include/impress_fiche.inc.php @@ -164,7 +164,8 @@ if ( $_GET['histo'] == 4 ) { echo $export_pdf; exit(); } - +if ( isDate($_REQUEST['start']) == null || isDate ($_REQUEST['end']) == null ) { + alert('Date invalide !'); exit;} // for the lettering foreach($array as $row) { $letter=new Lettering_Card($cn);