diff --git a/include/branches.inc b/include/branches.inc index f3795963f7..deb1f79841 100644 --- a/include/branches.inc +++ b/include/branches.inc @@ -355,7 +355,7 @@ function get_branch_release_date($branch): ?DateTime { $initial = get_initial_release($branch); - return $initial ? new DateTime($initial['date']) : null; + return isset($initial['date']) ? new DateTime($initial['date']) : null; } function get_branch_support_state($branch) {