Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check if version entity is not null before delete #38125

Merged
merged 1 commit into from
May 9, 2023

Conversation

solracsf
Copy link
Member

@solracsf solracsf commented May 8, 2023

Summary

Check if version entity is not null before delete. This variable is being set in the array_filter() function, but it is possible that it remains empty if the function doesn't find any version that matches the conditions.

Checklist

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
@solracsf
Copy link
Member Author

solracsf commented May 8, 2023

/backport to stable26

This was referenced May 9, 2023
Copy link
Contributor

@artonge artonge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙈

@artonge artonge requested review from a team, ArtificialOwl, icewind1991, Fenn-CS and come-nc and removed request for a team May 9, 2023 09:55
@skjnldsv skjnldsv merged commit 416f632 into master May 9, 2023
@skjnldsv skjnldsv deleted the versionEntityCheck branch May 9, 2023 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews
Projects
None yet
4 participants