From: skodak Date: Thu, 29 Jun 2006 06:53:53 +0000 (+0000) Subject: Bug #5959 - save and view takes to wrong place; merged from MOODLE_16_STABLE X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=62ce993db3757751c1c3ac2607441aa969a2b794;p=moodle.git Bug #5959 - save and view takes to wrong place; merged from MOODLE_16_STABLE --- 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); } } }