diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-08-23 14:05:47 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-08-23 14:05:47 +0100 |
commit | 6f7efae58ef30ffbaddd42b4ac7f65380f6fe68a (patch) | |
tree | 73a6f970906582029e17ac34745bbbcc7d118c42 /perllib | |
parent | 5f15e9ec77ecfc7d21d150b3baf18c853bae4ed0 (diff) | |
parent | 22dd06a50f24df15f782e0e4a327b0d0685e793d (diff) |
Merge remote-tracking branch 'origin/empty-alert-urls'
Diffstat (limited to 'perllib')
-rw-r--r-- | perllib/FixMyStreet/Script/Alerts.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/Script/Alerts.pm b/perllib/FixMyStreet/Script/Alerts.pm index aefe13318..c001cc311 100644 --- a/perllib/FixMyStreet/Script/Alerts.pm +++ b/perllib/FixMyStreet/Script/Alerts.pm @@ -102,7 +102,7 @@ sub send() { my $url = $cobrand->base_url_for_report($row); # this is currently only for new_updates - if ($row->{item_text}) { + if (defined($row->{item_text})) { if ( $cobrand->moniker ne 'zurich' && $row->{alert_user_id} == $row->{user_id} ) { # This is an alert to the same user who made the report - make this a login link # Don't bother with Zurich which has no accounts |