Make sure that $epochs[] is never empty but contains 0 so min($epochs) will not complain.
Closes T15623
Differential D25417
Fix RuntimeException: min(): Array must contain at least one element aklapper on Aug 22 2023, 09:09. Authored by
Details Make sure that $epochs[] is never empty but contains 0 so min($epochs) will not complain. Closes T15623 Carefully read the code (as I am unaware of reproduction steps).
Diff Detail
Event TimelineComment Actions Obviously not a clean tree, sorry. Thus ran arc liberate, now arc asked whether to include unstaged changes in src/__phutil_library_map__.php (yes) Comment Actions and that's now wrong because src/__phutil_library_map__.php includes a non-existing file though I had ran git stash. I love git... Comment Actions Try again, after an rm and arc liberate on master, and then a git rebase master on this branch |