Set a default privacy value in the radio list when creating new profile fields.

This commit is contained in:
Colin Kuskie 2009-08-13 15:56:14 +00:00
parent a682e45583
commit d14d468415
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -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",