Check the date for the lettering

This commit is contained in:
Dany De Bontridder 2010-07-29 19:27:41 +00:00
parent 5f33edd1b8
commit e07984620a
4 changed files with 35 additions and 0 deletions

View file

@ -59,6 +59,11 @@ if ( isset($_POST['record'])) {
//--------------------------------------------------------------------------------
// Show the result
//--------------------------------------------------------------------------------
if ( isDate($_GET['start']) == null || isDate($_GET['end']) == null ) {
echo alert(_('Date malformée, désolé'));
exit();
}
echo '<div id="list">';
$fiche=new Fiche($cn,$_REQUEST['f_id']);
$quick_code=$fiche->get_quick_code();