Bug #5959 - save and view takes to wrong place

This commit is contained in:
skodak
2006-06-29 06:52:48 +00:00
parent 1c813b4080
commit fee582844b
+1 -1
View File
@@ -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);
}
}
}