From 94aba2a625f167b64d649ed54458ec7660e1b788 Mon Sep 17 00:00:00 2001 From: Pierrick Charron Date: Mon, 9 Jun 2025 22:06:07 -0400 Subject: [PATCH] Fix warnings on /releases/states.php --- include/branches.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {