Skip to content

fix: correct candidate re-apply update mapping and guard empty ownership emails#729

Merged
RussH merged 3 commits intoopencats:masterfrom
anonymoususer72041:fix/725-careersui-update-args
Apr 22, 2026
Merged

fix: correct candidate re-apply update mapping and guard empty ownership emails#729
RussH merged 3 commits intoopencats:masterfrom
anonymoususer72041:fix/725-careersui-update-args

Conversation

@anonymoususer72041
Copy link
Copy Markdown
Contributor

Fixes #725

This PR corrects the misaligned Candidates::update() call in the careers re-apply flow.

It also adds a small safeguard in lib/Candidates.php so candidate ownership notifications are only sent when both the recipient and email body are non-empty.

@RussH
Copy link
Copy Markdown
Member

RussH commented Apr 22, 2026

Good to merge

@RussH RussH merged commit 9db9d3f into opencats:master Apr 22, 2026
3 checks passed
@anonymoususer72041 anonymoususer72041 deleted the fix/725-careersui-update-args branch April 22, 2026 12:15
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.

CareersUI.php passes misaligned arguments to Candidates::update(), causing spurious "Candidate Ownership Change" emails to candidates

2 participants