aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/fixmystreet.com/buckinghamshire-flytipping2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/fixmystreet.com/buckinghamshire-flytipping b/bin/fixmystreet.com/buckinghamshire-flytipping
index 72e8b7e7b..27548be88 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,