Skip to content

Set $files in UploadedFilesController API POST endpoint only if there are results - #18398

Merged
snipe merged 1 commit into
developfrom
fixes-rb-#20282-set-files-variable
Jan 5, 2026
Merged

snipe merged 1 commit into
developfrom
fixes-rb-#20282-set-files-variable

Conversation

@snipe

@snipe snipe commented Jan 5, 2026

Copy link
Copy Markdown
Member

This just shuffles the order of the $files variable so that we can be sure it's defined before checking for it in the action logs. Bit of a shim but it should do the trick.

Should fix RB-20282

@snipe snipe changed the title Set $files only if there are results Set $files in UploadedFilesController API POST endpoint only if there are results Jan 5, 2026
@snipe
snipe merged commit 990858b into develop Jan 5, 2026
7 of 8 checks passed
@snipe
snipe deleted the fixes-rb-#20282-set-files-variable branch January 5, 2026 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant