Skip to content

Commit

Permalink
[Buckinghamshire] Function requires ID, not object
Browse files Browse the repository at this point in the history
  • Loading branch information
dracos committed Jan 25, 2019
1 parent 8fcff2a commit 0a1236b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/fixmystreet.com/buckinghamshire-flytipping
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ sub find_problems {

# Provide some variables to the archiving script
FixMyStreet::Script::ArchiveOldEnquiries::update_options({
user => $body->comment_user,
user => $body->comment_user->id,
user_name => $body->comment_user->name,
closure_text => $template->text,
retain_alerts => $retain_alerts,
Expand Down

0 comments on commit 0a1236b

Please sign in to comment.