We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a1ddef commit 94aba2aCopy full SHA for 94aba2a
1 file changed
include/branches.inc
@@ -355,7 +355,7 @@ function get_branch_release_date($branch): ?DateTime
355
{
356
$initial = get_initial_release($branch);
357
358
- return $initial ? new DateTime($initial['date']) : null;
+ return isset($initial['date']) ? new DateTime($initial['date']) : null;
359
}
360
361
function get_branch_support_state($branch) {
0 commit comments