properly load the wizard class
This commit is contained in:
parent
29d1908e15
commit
9093642793
1 changed files with 3 additions and 1 deletions
|
|
@ -1,5 +1,7 @@
|
|||
package WebGUI::Content::Wizard;
|
||||
|
||||
use strict;
|
||||
|
||||
=head1 LEGAL
|
||||
|
||||
-------------------------------------------------------------------
|
||||
|
|
@ -31,7 +33,7 @@ sub handler {
|
|||
|
||||
if ( $session->form->get('op') eq 'wizard' && $session->form->get('wizard_class') ) {
|
||||
my $class = $session->form->get('wizard_class');
|
||||
WebGUI::Pluggable->load($class);
|
||||
WebGUI::Pluggable::load($class);
|
||||
if ( $class->isa( 'WebGUI::Wizard' ) ) {
|
||||
my $wizard = $class->new( $session );
|
||||
return $wizard->dispatch;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue