]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-15214 there is no such field "emailenable"
authormudrd8mz <mudrd8mz>
Wed, 11 Jun 2008 21:58:11 +0000 (21:58 +0000)
committermudrd8mz <mudrd8mz>
Wed, 11 Jun 2008 21:58:11 +0000 (21:58 +0000)
user/editlib.php

index 575c11e6457842a5f4441c21355908cdb62db947..446c729fc1f1873d7b8b2e49fba5adae79421054 100644 (file)
@@ -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');