Impress -> category Add a check on the date

This commit is contained in:
Dany De Bontridder 2010-06-18 22:22:33 +00:00
parent 348aeb611e
commit 0a9575304e

View file

@ -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);