diff --git a/include/text.php b/include/text.php index f3b94cd8c..c9ab0b943 100644 --- a/include/text.php +++ b/include/text.php @@ -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; } }