Trying to check whether it is defined instead.

svn path=/trunk/; revision=14945
This commit is contained in:
ato
2010-02-15 12:16:51 +00:00
parent a88c3c946a
commit ffa9c78103

View File

@@ -40,7 +40,7 @@ sub add_to_error_stack {
my $new_error = @_;
return unless defined $new_error;
unless ($self->errors) {
unless (defined $self->errors) {
$self->errors = "<p>Errors occurred when attempting to process form.</p>";
$self->errors .= "<ul>";
}