Skip to content

Fix for sentry exception "in_array() expects parameter 2 to be array, boolean given"

Peter Tönnies requested to merge Feature/PT-308-fixArrayInsteadOfBool into master

Closes e.g. #308 (closed)

What does this MR do?

it makes the output of the function in concern array only

How confident are you it won't break things if deployed?

Looks good.

Links to related issues

Checklist

  • added a test, or explain why one is not needed/possible (the existing tests should be sufficient)
  • no unrelated changes
  • asked someone for a code review
  • joined #foodsharing-beta channel at https://slackin.yunity.org
  • added an entry to CHANGELOG.md (description, merge request link, username(s))
Edited by Chris Oelmueller

Merge request reports