fixing bug
This commit is contained in:
parent
58df04b36c
commit
c6035f338a
2 changed files with 3 additions and 1 deletions
|
|
@ -262,6 +262,7 @@ sub set {
|
|||
$properties->{visible} = 0 unless ($properties->{visible} == 1);
|
||||
$properties->{editable} = 0 unless ($properties->{editable} == 1);
|
||||
$properties->{label} = 'Undefined' if ($properties->{label} =~ /^[\"\']*$/);
|
||||
$properties->{profileCategoryId} = $self->getId;
|
||||
WebGUI::SQL->setRow("userProfileCategory","profileCategoryId",$properties);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -362,7 +362,8 @@ sub set {
|
|||
$properties->{defaultValues} .= "]";
|
||||
}
|
||||
}
|
||||
WebGUI::SQL->setRow("userProfileCategory","profileCategoryId",$properties);
|
||||
$properties->{fieldName} = $self->getId;
|
||||
WebGUI::SQL->setRow("userProfileField","fieldName",$properties);
|
||||
foreach my $key (keys %{$properties}) {
|
||||
$self->{_property}{$key} = $properties->{$key};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue