mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
Bug #5959 - save and view takes to wrong place; merged from MOODLE_16_STABLE
This commit is contained in:
parent
036c0fcb1a
commit
62ce993db3
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@
|
||||||
notify(get_string('entrysaved','data'));
|
notify(get_string('entrysaved','data'));
|
||||||
|
|
||||||
if (!empty($datarecord->saveandview)) {
|
if (!empty($datarecord->saveandview)) {
|
||||||
redirect($CFG->wwwroot.'/mod/data/view.php?d='.$data->id.'&rid='.$rid);
|
redirect($CFG->wwwroot.'/mod/data/view.php?d='.$data->id.'&rid='.$recordid);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue