diff --git a/include/lettering.gestion.inc.php b/include/lettering.gestion.inc.php index e06a67db1..56fa50fcf 100644 --- a/include/lettering.gestion.inc.php +++ b/include/lettering.gestion.inc.php @@ -60,12 +60,14 @@ if ( isset($_POST['record'])) //-------------------------------------------------------------------------------- // Show the result //-------------------------------------------------------------------------------- -if ( isDate($_GET['start']) == null || isDate($_GET['end']) == null ) -{ - echo alert(_('Date malformée, désolé')); - exit(); -} - +if ( isset($_GET['start']) && isset($_GET['end'])) + { + if ( isDate($_GET['start']) == null || isDate($_GET['end']) == null ) + { + echo alert(_('Date malformée, désolé')); + exit(); + } + } echo '