aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2017-08-15 16:47:30 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-08-15 16:47:30 +0100
commite10791e6c40d872b15b21a96f5fac2d0f82fbd85 (patch)
treec99062f3c880888414825545f0b01e4a07a6bc2a
parentb890c304aea2d47f5af42d2abed07611c8343ded (diff)
Don't use phone number as report ID.
This led to a wrong/bad request for nearby duplicates.
-rw-r--r--templates/web/base/report/_inspect.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/web/base/report/_inspect.html b/templates/web/base/report/_inspect.html
index 9626ee669..91c2a8ad5 100644
--- a/templates/web/base/report/_inspect.html
+++ b/templates/web/base/report/_inspect.html
@@ -16,9 +16,7 @@
[% IF permissions.report_inspect AND problem.user.phone %]
<p>
<strong>[% loc('Phone Reporter:') %]</strong>
- <span class="js-report-id">
- <a href="tel:[% problem.user.phone %]">[% problem.user.phone %]</a>
- </span>
+ <a href="tel:[% problem.user.phone | html %]">[% problem.user.phone | html %]</a>
</p>
[% END %]
<p>