-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Prevent undefined offset 0 in findByUserIdOrMail #16308
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
Conversation
7650049 to
a3689b9
Compare
a3689b9 to
1ce7d7a
Compare
1ce7d7a to
1bdf63a
Compare
Signed-off-by: Daniel Kesselberg <[email protected]>
1bdf63a to
d57540a
Compare
compagnon
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merged into #16260
|
/backport to stable16 |
|
/backport to stable15 |
skjnldsv
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make sense!
|
backport to stable16 in #16325 |
|
/backport to stable15 |
|
backport to stable15 in #16326 |
Fix a regression introduced by #10743
Discovered by @compagnon #16260
array_filterpresevers the keys. If the first user is disabled and the second one enabled count will be 1 but index 0 undefined. Adjusted the tests to callfindByUserIdOrMaildirectly because theemailmethod catches any error and returns always success.