aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2019-01-25 17:06:19 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2019-01-25 17:06:48 +0000
commit0a1236b29bd0f22d7bdb112e08cef39de2a6cd4c (patch)
treef8c14f9d14e699cd955a1dc4401394bc54fc9e0c /bin
parent8fcff2a03a742730922bc620de253dcf6660909f (diff)
[Buckinghamshire] Function requires ID, not object
Diffstat (limited to 'bin')
-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,