Pluggable::load is not a class method.
This commit is contained in:
parent
216a48580a
commit
f49d96152e
1 changed files with 3 additions and 3 deletions
|
|
@ -117,7 +117,7 @@ sub create {
|
|||
# Get the field's data type
|
||||
$properties->{fieldType} ||= "ReadOnly";
|
||||
my $formClass = $self->getFormControlClass;
|
||||
eval { WebGUI::Pluggable->load($formClass) };
|
||||
eval { WebGUI::Pluggable::load($formClass) };
|
||||
my $dbDataType = $formClass->getDatabaseFieldType;
|
||||
|
||||
# Add the column to the userProfileData table
|
||||
|
|
@ -735,7 +735,7 @@ sub rename {
|
|||
|
||||
# Rename the userProfileData column
|
||||
my $fieldClass = $self->getFormControlClass;
|
||||
eval { WebGUI::Pluggable->load($fieldClass) };
|
||||
eval { WebGUI::Pluggable::load($fieldClass) };
|
||||
my $dbDataType = $fieldClass->getDatabaseFieldType;
|
||||
|
||||
$self->session->db->write(
|
||||
|
|
@ -852,7 +852,7 @@ sub set {
|
|||
if ($properties->{fieldType} ne $originalFieldType) {
|
||||
# Create a copy of the new properties so we don't mess them up
|
||||
my $fieldClass = $self->getFormControlClass;
|
||||
eval { WebGUI::Pluggable->load($fieldClass) };
|
||||
eval { WebGUI::Pluggable::load($fieldClass) };
|
||||
my $dbDataType
|
||||
= $fieldClass->new($session, $self->formProperties($properties))->getDatabaseFieldType;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue