Skip to content

[stable27] fix #745 ValueError: random_int(): Argument #1 ($min) must be less than or equal to argument #2 ($max) - #848

Merged
ChristophWurst merged 2 commits into
stable27from
backport/810/stable27
Feb 15, 2024
Merged

[stable27] fix #745 ValueError: random_int(): Argument #1 ($min) must be less than or equal to argument #2 ($max)#848
ChristophWurst merged 2 commits into
stable27from
backport/810/stable27

Conversation

@backportbot

@backportbot backportbot Bot commented Feb 15, 2024

Copy link
Copy Markdown

Backport of PR #810

fallback to empty array if the array of IP addresses contains nothing
when using "random_int($min, $max)" .

Signed-off-by: furplag <furplag@furplag.jp>
Signed-off-by: furplag <furplag@furplag.jp>
@backportbot
backportbot Bot requested a review from ChristophWurst February 15, 2024 07:18
@backportbot backportbot Bot added bug Something isn't working 3. to review labels Feb 15, 2024
@backportbot backportbot Bot added this to the Nextcloud 27.1.7 milestone Feb 15, 2024
@ChristophWurst
ChristophWurst merged commit 8ab3ac3 into stable27 Feb 15, 2024
@ChristophWurst
ChristophWurst deleted the backport/810/stable27 branch February 15, 2024 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants