diff options
-rwxr-xr-x | web/contact.cgi | 4 | ||||
-rwxr-xr-x | web/index.cgi | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/web/contact.cgi b/web/contact.cgi index 33cc2a62f..9f0ab6d59 100755 --- a/web/contact.cgi +++ b/web/contact.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: contact.cgi,v 1.51 2009-12-01 12:44:51 louise Exp $ +# $Id: contact.cgi,v 1.52 2009-12-08 10:20:38 matthew Exp $ use strict; use Standard; @@ -121,7 +121,7 @@ sub contact_page { my @errors = @$errors; my %field_errors = %{$field_errors}; my $cobrand = Page::get_cobrand($q); - push @errors, _('There were problems with your report. Please see below.') if (scalar keys %field_errors && $cobrand ne 'emptyhomes'); + push @errors, _('There were problems with your report. Please see below.') if (scalar keys %field_errors); my @vars = qw(name em subject message); my %input = map { $_ => $q->param($_) || '' } @vars; my %input_h = map { $_ => $q->param($_) ? ent($q->param($_)) : '' } @vars; diff --git a/web/index.cgi b/web/index.cgi index ba6572102..cf44e0507 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.328 2009-12-03 12:51:48 louise Exp $ +# $Id: index.cgi,v 1.329 2009-12-08 10:20:38 matthew Exp $ use strict; use Standard; @@ -433,7 +433,7 @@ sub display_form { my @errors = @$errors; my %field_errors = %{$field_errors}; my $cobrand = Page::get_cobrand($q); - push @errors, _('There were problems with your report. Please see below.') if (scalar keys %field_errors && $cobrand ne 'emptyhomes'); + push @errors, _('There were problems with your report. Please see below.') if (scalar keys %field_errors); my ($pin_x, $pin_y, $pin_tile_x, $pin_tile_y) = (0,0,0,0); my @vars = qw(title detail name email phone pc easting northing x y skipped council anonymous partial upload_fileid lat lon); @@ -913,7 +913,7 @@ sub display_problem { my @errors = @$errors; my %field_errors = %{$field_errors}; my $cobrand = Page::get_cobrand($q); - push @errors, _('There were problems with your update. Please see below.') if (scalar keys %field_errors && $cobrand ne 'emptyhomes'); + push @errors, _('There were problems with your update. Please see below.') if (scalar keys %field_errors); my @vars = qw(id name rznvy update fixed add_alert upload_fileid x y submit_update); my %input = map { $_ => $q->param($_) || '' } @vars; |