Fix basket location on edit
What does this MR do?
Fixes a bug that I introduced in !1021 (merged)
If a basket is edited via Rest and no new location is given, it falls back to the home address. With this, the previous location stays unchanged.
How confident are you it won't break things if deployed?
Should work
Links to related issues
Checklist
-
added a test, or explain why one is not needed/possible... -
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))