diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-07-08 08:15:12 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-07-08 08:17:21 +0100 |
commit | 576db4e264535fecfcf6b5180e0b41091cb85f47 (patch) | |
tree | 478f9ed745a379542d92f9f6a9f9354ee0f84395 | |
parent | 8e44bc941b85f3a2e453c7434434e40755931a1b (diff) |
[Bristol] Switch Open311 warnings off, false +ves.
-rw-r--r-- | perllib/Open311.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/Open311.pm b/perllib/Open311.pm index 999cb65cb..da5a0a377 100644 --- a/perllib/Open311.pm +++ b/perllib/Open311.pm @@ -72,8 +72,8 @@ sub to_bristol { sub warn_failure { my ($obj, $problem) = @_; # Special case a poorly behaving Open311 server + return 0 if to_bristol($problem || $obj); my $threshold = 1; - $threshold = 5 if to_bristol($problem || $obj); return $obj->send_fail_count && $obj->send_fail_count == $threshold; } |