diff options
Diffstat (limited to 'perllib/Open311/GetServiceRequestUpdates.pm')
-rw-r--r-- | perllib/Open311/GetServiceRequestUpdates.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/perllib/Open311/GetServiceRequestUpdates.pm b/perllib/Open311/GetServiceRequestUpdates.pm index 4b6d56146..11bc1e64f 100644 --- a/perllib/Open311/GetServiceRequestUpdates.pm +++ b/perllib/Open311/GetServiceRequestUpdates.pm @@ -125,8 +125,7 @@ sub update_comments { my $photoset = FixMyStreet::App::Model::PhotoSet->new({ data_items => [ $res->decoded_content ], }); - my $data = $photoset->get_raw_image_data(0); - $comment->photo($data->[0]); + $comment->photo($photoset->data); } } |