From 0a1236b29bd0f22d7bdb112e08cef39de2a6cd4c Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Fri, 25 Jan 2019 17:06:19 +0000 Subject: [PATCH] [Buckinghamshire] Function requires ID, not object --- bin/fixmystreet.com/buckinghamshire-flytipping | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/fixmystreet.com/buckinghamshire-flytipping b/bin/fixmystreet.com/buckinghamshire-flytipping index 72e8b7e7b98..27548be884e 100755 --- a/bin/fixmystreet.com/buckinghamshire-flytipping +++ b/bin/fixmystreet.com/buckinghamshire-flytipping @@ -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,