diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-04-12 16:18:01 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-04-12 16:18:01 +0100 |
commit | efe6ac273fa3ec9edc48e7d196d59f2e9a82a224 (patch) | |
tree | 0178ff9df53d73c4d1f7965bcefeb30d18f25154 /perllib/FixMyStreet/App/Controller/Around.pm | |
parent | 4c8f35f69a2435492e1bd5f38d20211b6b492c22 (diff) |
Don't error when devolved body, blank send methods
The check assumed that if a body was devolved, either the contact
or the body would have a send method. Instead, use a contact send
method if devolved and it exists, a body send method if it exists
or the fallback if neither. Fixes #1374.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Around.pm')
0 files changed, 0 insertions, 0 deletions