aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatthew <matthew>2009-10-29 18:31:19 +0000
committermatthew <matthew>2009-10-29 18:31:19 +0000
commitac0452eedf1ee641b4383e576a59342ed78b7ce9 (patch)
tree46ac347fa6263f34880d7526b1d17352174ac153
parent6101da29a97ed59faf319395755fb3720504fb26 (diff)
Can't be undef.
-rwxr-xr-xweb/index.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/index.cgi b/web/index.cgi
index 6d67e0ac2..a8e32916c 100755
--- a/web/index.cgi
+++ b/web/index.cgi
@@ -6,7 +6,7 @@
# Copyright (c) 2006 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org. WWW: http://www.mysociety.org
#
-# $Id: index.cgi,v 1.304 2009-10-29 17:55:24 matthew Exp $
+# $Id: index.cgi,v 1.305 2009-10-29 18:31:19 matthew Exp $
use strict;
use Standard;
@@ -113,7 +113,7 @@ sub front_page {
my $question = Cobrand::enter_postcode_text($cobrand, $q);
my %vars = (
- error => $error,
+ error => $error || '',
pc_h => $pc_h,
cobrand_form_elements => $cobrand_form_elements,
form_action => $form_action,