diff options
author | matthew <matthew> | 2009-12-15 15:07:01 +0000 |
---|---|---|
committer | matthew <matthew> | 2009-12-15 15:07:01 +0000 |
commit | 7c0b2c954d1c743f603a0acd3a1300a012ab6cfe (patch) | |
tree | 2ce985f55d27d36cebd3866feef34c3726f6804d /web | |
parent | a971d5e0cc64d21401a945d23393769be50f6006 (diff) |
Remove unneeded second call.
Diffstat (limited to 'web')
-rwxr-xr-x | web/contact.cgi | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/web/contact.cgi b/web/contact.cgi index 417959847..95ec6a19c 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.53 2009-12-08 11:13:30 louise Exp $ +# $Id: contact.cgi,v 1.54 2009-12-15 15:07:01 matthew Exp $ use strict; use Standard; @@ -120,7 +120,6 @@ sub contact_page { my ($q, $errors, $field_errors) = @_; 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); my @vars = qw(name em subject message); my %input = map { $_ => $q->param($_) || '' } @vars; |