From 7a0535571c74c9f025e8e5baa8f958295f21d846 Mon Sep 17 00:00:00 2001 From: JT Smith Date: Thu, 24 Jan 2008 07:19:58 +0000 Subject: [PATCH] not an object, need to use run instead of instanciate --- lib/WebGUI/Operation/FormHelpers.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/WebGUI/Operation/FormHelpers.pm b/lib/WebGUI/Operation/FormHelpers.pm index 12a2920c6..cc7cf6b9f 100644 --- a/lib/WebGUI/Operation/FormHelpers.pm +++ b/lib/WebGUI/Operation/FormHelpers.pm @@ -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";