aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@balti.ukcod.org.uk>2010-09-30 11:36:02 +0100
committerMatthew Somerville <matthew@balti.ukcod.org.uk>2010-09-30 11:36:02 +0100
commit741fc60a9dea5edb79dcbfec031ee79634bab7f2 (patch)
tree45ee7345dc61e226bab2f33b42b1a8ee89ca1a0f
parent0685fe70a5c20257e03c4d8b13d4d30d5f46514e (diff)
Suppress warning from next line.
-rwxr-xr-xweb/rss.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/rss.cgi b/web/rss.cgi
index 462cc76f1..a2d9bcb4f 100755
--- a/web/rss.cgi
+++ b/web/rss.cgi
@@ -67,7 +67,7 @@ sub rss_local_problems {
my $lon = $q->param('lon');
my $e = $q->param('e');
my $n = $q->param('n');
- my $d = $q->param('d');
+ my $d = $q->param('d') || '';
$d = '' unless $d =~ /^\d+$/;
my $d_str = '';
$d_str = "/$d" if $d;