Browse Source

removed unknown/undefined properties

develop_fields
Johannes Burk 11 years ago
parent
commit
d0f17393a8
  1. 8
      edit.php

8
edit.php

@ -52,16 +52,8 @@ if ($mform->is_cancelled()) {
if ($instance->id) {
$instance->status = $data->status;
$instance->name = $data->name;
$instance->password = $data->password;
$instance->customint1 = $data->customint1;
$instance->customint2 = $data->customint2;
$instance->customint3 = $data->customint3;
$instance->customint4 = $data->customint4;
$instance->customtext1 = $data->customtext1;
$instance->roleid = $data->roleid;
$instance->enrolperiod = $data->enrolperiod;
$instance->enrolstartdate = $data->enrolstartdate;
$instance->enrolenddate = $data->enrolenddate;
$instance->timemodified = time();
$DB->update_record('enrol', $instance);

Loading…
Cancel
Save