aboutsummaryrefslogtreecommitdiffstats
path: root/bin/send-reports
diff options
context:
space:
mode:
authormatthew <matthew>2008-09-19 10:24:55 +0000
committermatthew <matthew>2008-09-19 10:24:55 +0000
commit6708e7dd9b259207c613bb08b693d0ee5a1f2f0d (patch)
tree35d6c887c93a4a76e47400fa158dd35b58c32273 /bin/send-reports
parent2b7fa24af368a4b66893fa5a26ff849807f5d427 (diff)
Nicer URLs for reports.
Diffstat (limited to 'bin/send-reports')
-rwxr-xr-xbin/send-reports4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/send-reports b/bin/send-reports
index add88089a..05c63453f 100755
--- a/bin/send-reports
+++ b/bin/send-reports
@@ -6,7 +6,7 @@
# Copyright (c) 2007 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org. WWW: http://www.mysociety.org
#
-# $Id: send-reports,v 1.55 2008-09-05 18:18:20 matthew Exp $
+# $Id: send-reports,v 1.56 2008-09-19 10:24:55 matthew Exp $
use strict;
require 5.8.0;
@@ -75,7 +75,7 @@ foreach my $row (@$unsent) {
$h{phone} = "Phone: $h{phone}\n\n" if $h{phone};
$h{has_photo} = '';
$h{has_photo} = "This web page also contains a photo of the problem, provided by the user.\n\n" if $row->{has_photo};
- $h{url} = $base_url . '/?id=' . $row->{id};
+ $h{url} = $base_url . '/report/' . $row->{id};
$h{fuzzy} = $row->{used_map} ? 'To view a map of the precise location of this issue'
: 'The user could not locate the problem on a map, but to see the area around the location they entered';
$h{closest_address} = '';