From e61f870151044a757c77dbfc9dda0d9481c01b6b Mon Sep 17 00:00:00 2001 From: skodak Date: Fri, 26 Jan 2007 17:17:21 +0000 Subject: [PATCH] MDL-8096 - fixed default values --- user/edit_form_common.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/user/edit_form_common.php b/user/edit_form_common.php index b7bda4bc00..50990463e2 100644 --- a/user/edit_form_common.php +++ b/user/edit_form_common.php @@ -20,7 +20,7 @@ $choices['1'] = get_string('emaildisplayyes'); $choices['2'] = get_string('emaildisplaycourse'); $mform->addElement('select', 'maildisplay', get_string('emaildisplay'), $choices); - $mform->setDefault('emaildisplay', 2); + $mform->setDefault('maildisplay', 2); $choices = array(); $choices['0'] = get_string('emailenable'); @@ -60,7 +60,7 @@ $choices['1'] = get_string('autosubscribeyes'); $choices['0'] = get_string('autosubscribeno'); $mform->addElement('select', 'autosubscribe', get_string('autosubscribe'), $choices); - $mform->setDefault('autosubscribe', 0); + $mform->setDefault('autosubscribe', 1); $mform->setAdvanced('autosubscribe'); if (!empty($CFG->forum_trackreadposts)) { -- 2.39.5