From fee582844be307270eb014b5595cafdc28b7ee28 Mon Sep 17 00:00:00 2001 From: skodak Date: Thu, 29 Jun 2006 06:52:48 +0000 Subject: [PATCH] Bug #5959 - save and view takes to wrong place --- 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 2483173bc9c..79a70545f00 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); } } }