summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorINOPIAE <inopiae@cacert.org>2013-06-09 20:50:42 +0200
committerINOPIAE <inopiae@cacert.org>2013-06-09 20:50:42 +0200
commita6fee6fa9a8d65a2b955e009be9003006fc47a57 (patch)
treec7a49aa263da34f927a28986f9162e233ab6320d
parentbc07a929dbc01138feebc39f17036e3635ad8b68 (diff)
downloadcacert-devel-a6fee6fa9a8d65a2b955e009be9003006fc47a57.tar.gz
cacert-devel-a6fee6fa9a8d65a2b955e009be9003006fc47a57.tar.xz
cacert-devel-a6fee6fa9a8d65a2b955e009be9003006fc47a57.zip
bug 1137: added missing if statement
-rw-r--r--includes/wot.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/wot.inc.php b/includes/wot.inc.php
index b2d9a75..7bf99d1 100644
--- a/includes/wot.inc.php
+++ b/includes/wot.inc.php
@@ -666,7 +666,7 @@ function check_date_format($date, $year=2000){
return FALSE;
}
if (intval($arr[0])<=$year) {
-
+ return FALSE;
}
if (intval($arr[1])>12 or intval($arr[1])<=0) {
return FALSE;