fixing jt's change-one-thing-one-place-forget-to-change-it-every-place bug

This commit is contained in:
Matthew Wilson 2005-12-07 19:23:27 +00:00
parent 466c6ac357
commit a3cc66acbc

View file

@ -85,7 +85,7 @@ sub create {
my $id = WebGUI::SQL->setRow("userProfileField","fieldName",{fieldName=>"new"},undef,$fieldName); my $id = WebGUI::SQL->setRow("userProfileField","fieldName",{fieldName=>"new"},undef,$fieldName);
my $self = $class->new($id); my $self = $class->new($id);
$self->setCategory($categoryId || "1"); $self->setCategory($categoryId || "1");
$self->update($properties); $self->set($properties);
return $self; return $self;
} }