diff options
Diffstat (limited to 'bin/db-iris')
-rwxr-xr-x | bin/db-iris | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/db-iris b/bin/db-iris index 9e1b649..d8f9331 100755 --- a/bin/db-iris +++ b/bin/db-iris @@ -78,7 +78,7 @@ if ($date) { if ( $date eq 'tomorrow' ) { $datetime->add( days => 1 ); } - elsif (not( defined $day and defined $month ) + elsif ( not( defined $day and defined $month ) or ( $day < 1 ) or ( $day > 31 ) or ( $month < 1 ) |