diff options
author | Struan Donald <struan@exo.org.uk> | 2018-03-15 16:12:58 +0000 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2018-03-15 16:12:58 +0000 |
commit | 9d9352ca6bbd757b30796d3cebd42f3ba06f6ddc (patch) | |
tree | e587f810b1adf59d6c947e1e887b341cb3e635e5 /perllib/FixMyStreet/Script/Reports.pm | |
parent | d5fed14044a348d85061202265dd09e4ce1b776b (diff) | |
parent | 8c23490f465fad0089d77ee362c566d066798d09 (diff) |
Merge branch 'rutland-integration'
Diffstat (limited to 'perllib/FixMyStreet/Script/Reports.pm')
-rw-r--r-- | perllib/FixMyStreet/Script/Reports.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Script/Reports.pm b/perllib/FixMyStreet/Script/Reports.pm index aa6b64752..b8c3d6d0d 100644 --- a/perllib/FixMyStreet/Script/Reports.pm +++ b/perllib/FixMyStreet/Script/Reports.pm @@ -88,6 +88,8 @@ sub send(;$) { if ($row->photo) { $h{has_photo} = _("This web page also contains a photo of the problem, provided by the user.") . "\n\n"; $h{image_url} = $email_base_url . $row->photos->[0]->{url_full}; + my @all_images = map { $email_base_url . $_->{url_full} } @{ $row->photos }; + $h{all_image_urls} = \@all_images; } else { $h{has_photo} = ''; $h{image_url} = ''; |