mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-26 18:31:29 +00:00
comment clarification
This commit is contained in:
parent
85db8f1863
commit
c917916adf
@ -380,7 +380,7 @@ sub applyUserPrefsFieldChange {
|
||||
if ($fieldCategory eq 'contact') {
|
||||
if ($editingUserIsTargetUser) {
|
||||
if ($newValue eq '') {
|
||||
# old value must be defined else we couldn't have reached here
|
||||
# old value must be defined (and different) else we couldn't have reached here
|
||||
if (scalar(keys(%{$targetUser->fields->{'contact'}})) > 1) {
|
||||
$field->remove();
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user