fix bugs revealed by Test::Class tests

This commit is contained in:
Doug Bell 2011-06-02 19:44:06 -05:00
parent 1de9a12365
commit 664e7686c6
16 changed files with 93 additions and 75 deletions

View file

@ -833,7 +833,7 @@ sub www_edit {
my $var = $self->get;
my $matrix = $self->getParent;
# TODO: Change to FormBuilder
$var->{form} = $self->getEditForm->print;
$var->{form} = $self->getEditForm->toHtml;
return $matrix->processStyle($self->processTemplate($var,$matrix->get("editListingTemplateId")));
}