From f49d96152e8559fa5ff1dd7ac50f68511e58b1be Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Wed, 3 Jun 2009 01:41:03 +0000 Subject: [PATCH] Pluggable::load is not a class method. --- lib/WebGUI/ProfileField.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/WebGUI/ProfileField.pm b/lib/WebGUI/ProfileField.pm index 9ace36deb..364783d91 100644 --- a/lib/WebGUI/ProfileField.pm +++ b/lib/WebGUI/ProfileField.pm @@ -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;