aboutsummaryrefslogtreecommitdiffstats
path: root/perllib
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2017-08-21 09:54:55 +0100
committerDave Arter <davea@mysociety.org>2017-08-21 09:54:55 +0100
commit6e22df6dd8fbf1504bcedd6a3e77201cf438525d (patch)
tree95f1f126ee3db82c4c7eec7afe27e0b0ad21e592 /perllib
parentbbe8fb87daab16ca285521658bec1dcb2fbdf4d1 (diff)
[Bristol] Fix 500 error on /report/new
Diffstat (limited to 'perllib')
-rw-r--r--perllib/FixMyStreet/Cobrand/Bristol.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Bristol.pm b/perllib/FixMyStreet/Cobrand/Bristol.pm
index 2876ff782..b11a52643 100644
--- a/perllib/FixMyStreet/Cobrand/Bristol.pm
+++ b/perllib/FixMyStreet/Cobrand/Bristol.pm
@@ -68,7 +68,7 @@ sub categories_restriction {
# cobrand, not the email categories from FMS.com. We've set up the
# Email categories with a devolved send_method, so can identify Open311
# categories as those which have a blank send_method.
- return $rs->search( { send_method => undef } );
+ return $rs->search( { 'me.send_method' => undef } );
}
1;