LinkStack
LinkStack copied to clipboard
[codex] skip empty vCard addresses
Summary
- skip HOME and WORK address entries when all address fields are blank
- keep existing vCard output unchanged when any address field is present
Why
The vCard endpoint always called addAddress() for HOME and WORK. On iOS this can create empty HOME/WORK address entries, making the device try to resolve a location from just the label.
Fixes #961.
Validation
git diff --checkphp -l app/Http/Controllers/UserController.phpnot run: PHP is not installed in this local environment