diff --git a/mod/data/edit.php b/mod/data/edit.php index 33575788db6..2e88e31e804 100644 --- a/mod/data/edit.php +++ b/mod/data/edit.php @@ -168,7 +168,6 @@ if ($datarecord = data_submitted() and confirm_sesskey()) { $record->approved = 0; } - $record->groupid = $currentgroup; $record->timemodified = time(); $DB->update_record('data_records', $record);