bug 1137: added missing if statement
authorINOPIAE <inopiae@cacert.org>
Sun, 9 Jun 2013 18:50:42 +0000 (20:50 +0200)
committerINOPIAE <inopiae@cacert.org>
Sun, 9 Jun 2013 18:50:42 +0000 (20:50 +0200)
includes/wot.inc.php

index b2d9a75..7bf99d1 100644 (file)
@@ -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;