Opps, added missing curly brace.

Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2017-07-19 23:16:54 +02:00
parent 78ffd5b80f
commit 35ada99954
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78

View file

@ -1985,7 +1985,7 @@ function is_a_date_arg($s) {
$y = date('Y');
if ($i <= $y + 1 && strpos($s, '-') == 4) {
$m = intval(substr($s, 5));
if ($m > 0 && $m <= 12)
if ($m > 0 && $m <= 12) {
return true;
}
}