Skip to content

Invert condition to check for missing row#9

Merged
TDannhauer merged 1 commit intoFRAMEWORK_6_0from
fix/invert_row_catching_exception
Mar 30, 2026
Merged

Invert condition to check for missing row#9
TDannhauer merged 1 commit intoFRAMEWORK_6_0from
fix/invert_row_catching_exception

Conversation

@TDannhauer
Copy link
Copy Markdown
Contributor

No description provided.

@TDannhauer TDannhauer requested a review from ralflang March 30, 2026 16:49

if ($row) {
if (!$row) {
throw new Horde_Exception_NotFound('Not found');
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
throw new Horde_Exception_NotFound('Not found');
throw new Horde_Exception_NotFound('No row Not found');

@TDannhauer TDannhauer merged commit 62a7483 into FRAMEWORK_6_0 Mar 30, 2026
0 of 2 checks passed
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.

2 participants