Merge branch 'master' into PHP8-Testing

This commit is contained in:
MarkBaker 2020-10-01 11:30:58 +02:00
commit b44eb85b9f
1 changed files with 1 additions and 1 deletions

View File

@ -489,7 +489,7 @@ class DateTime
if ($yearFound) {
array_unshift($t1, 1);
} else {
if ($t1[1] > 29) {
if (is_numeric($t1[1]) && $t1[1] > 29) {
$t1[1] += 1900;
array_unshift($t1, 1);
} else {