Bug #5959 - save and view takes to wrong place
This commit is contained in:
+1
-1
@@ -226,7 +226,7 @@
|
||||
notify(get_string('entrysaved','data'));
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user