Homestyx hydra
Diffusion hydra beec08e01913

Fix RuntimeException: min(): Array must contain at least one element

Description

Fix RuntimeException: min(): Array must contain at least one element

Summary:
Make sure that $epochs[] is never empty but contains 0 so min($epochs) will not complain.

Closes T15623

Test Plan: Carefully read the code (as I am unaware of reproduction steps).

Reviewers: O1 Blessed Committers, avivey

Reviewed By: O1 Blessed Committers, avivey

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Maniphest Tasks: T15623

Differential Revision: https://we.phorge.it/D25417

Details

Provenance
Andre KlapperAuthored on Aug 22 2023, 5:07 AM
sirocylPushed on Oct 16 2024, 5:49 AM
Parents
R1:9b105c8e9e54: Fix PHP 8.1 "strlen(null)" exceptions importing ICS file into calendar
Branches
Unknown
Tags
Unknown

Event Timeline