bugfix [ 1025755 ] UILevel can't be set to beginner (0)
This commit is contained in:
parent
6afe9da116
commit
40a36966dd
3 changed files with 7 additions and 12 deletions
|
|
@ -297,7 +297,7 @@ sub profileField {
|
|||
$class = shift;
|
||||
$fieldName = shift;
|
||||
$value = shift;
|
||||
$value = WebGUI::Macro::negate($value); # Len Kranendonk - 20030701: fixed security hole
|
||||
$value = WebGUI::Macro::negate($value);
|
||||
if (defined $value) {
|
||||
$class->{_profile}{$fieldName} = $value;
|
||||
WebGUI::SQL->write("delete from userProfileData where userId=".quote($class->{_userId})." and fieldName=".quote($fieldName));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue