From ecdf8d2e659b8473fc9950789144eb79ec0246e8 Mon Sep 17 00:00:00 2001 From: mudrd8mz Date: Wed, 11 Jun 2008 21:58:11 +0000 Subject: [PATCH] MDL-15214 there is no such field "emailenable" --- user/editlib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/editlib.php b/user/editlib.php index 575c11e645..446c729fc1 100644 --- a/user/editlib.php +++ b/user/editlib.php @@ -94,7 +94,7 @@ function useredit_shared_definition(&$mform) { $choices['0'] = get_string('emailenable'); $choices['1'] = get_string('emaildisable'); $mform->addElement('select', 'emailstop', get_string('emailactive'), $choices); - $mform->setDefault('emailenable', 1); + $mform->setDefault('emailstop', 0); $choices = array(); $choices['0'] = get_string('textformat'); -- 2.39.5