diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 742dd605c..908d6fa54 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -1,4 +1,5 @@ 7.7.17 + - fixed #10769: No default privacy setting for new User profile fields - fixed #10731: i18n Translation for js-based items in Matrix - fixed #10762: testCodebase only runs properly from within the bin directory - fixed #10765: Matrix displays all products when searching diff --git a/lib/WebGUI/Operation/ProfileSettings.pm b/lib/WebGUI/Operation/ProfileSettings.pm index 7bb8c30bc..ece17821f 100644 --- a/lib/WebGUI/Operation/ProfileSettings.pm +++ b/lib/WebGUI/Operation/ProfileSettings.pm @@ -307,7 +307,8 @@ sub www_editProfileField { -label => $i18n->get('default privacy setting label'), -hoverHelp => $i18n->get('default privacy setting description'), -options => WebGUI::ProfileField->getPrivacyOptions($session), - -value => $data->{defaultPrivacySetting} + -value => $data->{defaultPrivacySetting}, + -defaultValue => 'none', ); my $fieldType = WebGUI::Form::FieldType->new($session, -name=>"fieldType",