diff --git a/public/changelog.php b/public/changelog.php index 4aeb12a7..c3f4d5ed 100644 --- a/public/changelog.php +++ b/public/changelog.php @@ -71,7 +71,7 @@ if (!empty($changelogDate)) { $dateParts = explode('-', $changelogDate, 3); if (count($dateParts) !== 3 - || !array_test($dateParts, 'is_numeric') + || !array_test($dateParts, 'is_user_int') || !checkdate($dateParts[1], $dateParts[2], $dateParts[0])) { echo render_error(404); return;