Return to the record you edited after editing
This commit is contained in:
+1
-1
@@ -146,7 +146,7 @@
|
||||
|
||||
add_to_log($course->id, 'data', 'update', "view.php?d=$data->id&rid=$rid", $data->id, $cm->id);
|
||||
|
||||
redirect($CFG->wwwroot.'/mod/data/view.php?d='.$data->id);
|
||||
redirect($CFG->wwwroot.'/mod/data/view.php?d='.$data->id.'&rid='.$rid);
|
||||
|
||||
} else { /// Add some new records
|
||||
|
||||
|
||||
Reference in New Issue
Block a user