From 62ce993db3757751c1c3ac2607441aa969a2b794 Mon Sep 17 00:00:00 2001 From: skodak Date: Thu, 29 Jun 2006 06:53:53 +0000 Subject: [PATCH] Bug #5959 - save and view takes to wrong place; merged from MOODLE_16_STABLE --- mod/data/edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/data/edit.php b/mod/data/edit.php index 2483173bc9..79a70545f0 100755 --- a/mod/data/edit.php +++ b/mod/data/edit.php @@ -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); } } } -- 2.39.5