Opps, added missing curly brace.
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
78ffd5b80f
commit
35ada99954
|
@ -1985,7 +1985,7 @@ function is_a_date_arg($s) {
|
||||||
$y = date('Y');
|
$y = date('Y');
|
||||||
if ($i <= $y + 1 && strpos($s, '-') == 4) {
|
if ($i <= $y + 1 && strpos($s, '-') == 4) {
|
||||||
$m = intval(substr($s, 5));
|
$m = intval(substr($s, 5));
|
||||||
if ($m > 0 && $m <= 12)
|
if ($m > 0 && $m <= 12) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user