diff options
author | Struan Donald <struan@exo.org.uk> | 2013-01-17 13:03:39 +0000 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2013-01-17 13:03:39 +0000 |
commit | 51e2cb1945508d904e907cb4424cc2344c3fd96c (patch) | |
tree | 0887c22e88f04ae3283a81db747066d30342131d /perllib/FixMyStreet/DB | |
parent | 00d711fc3cb01050d69862e1c7dce5ff8dee6e34 (diff) | |
parent | d3491b7ebc217c32b7da50d7c9b76e26fa0b6c4f (diff) |
Merge remote-tracking branch 'origin/zurich' into zurich
Diffstat (limited to 'perllib/FixMyStreet/DB')
-rw-r--r-- | perllib/FixMyStreet/DB/ResultSet/AlertType.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/DB/ResultSet/AlertType.pm b/perllib/FixMyStreet/DB/ResultSet/AlertType.pm index a502a4a25..5b6b33d94 100644 --- a/perllib/FixMyStreet/DB/ResultSet/AlertType.pm +++ b/perllib/FixMyStreet/DB/ResultSet/AlertType.pm @@ -94,8 +94,9 @@ sub email_alerts ($) { } # this is currently only for new_updates if ($row->{item_text}) { - if ( $row->{alert_user_id} == $row->{user_id} ) { + 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 my $user = FixMyStreet::App->model('DB::User')->find( { id => $row->{alert_user_id} } ); |