not an object, need to use run instead of instanciate
This commit is contained in:
parent
89201092fb
commit
7a0535571c
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ sub www_formHelper {
|
|||
my $class = "WebGUI::Form::".$form->get("class");
|
||||
my $sub = $form->get("sub");
|
||||
return "ERROR" unless (defined $sub && defined $class);
|
||||
my $output = eval { WebGUI::Pluggable::instanciate($class, "www_".$sub, [$session]) };
|
||||
my $output = eval { WebGUI::Pluggable::run($class, "www_".$sub, [$session]) };
|
||||
if ($@) {
|
||||
$session->errorHandler->error($@);
|
||||
return "ERROR";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue