]> git.mjollnir.org Git - moodle.git/commitdiff
Bug #5959 - save and view takes to wrong place; merged from MOODLE_16_STABLE
authorskodak <skodak>
Thu, 29 Jun 2006 06:53:53 +0000 (06:53 +0000)
committerskodak <skodak>
Thu, 29 Jun 2006 06:53:53 +0000 (06:53 +0000)
mod/data/edit.php

index 2483173bc9ca643317d89c1780fbef9097219b07..79a70545f005bd724cc703cc1add4cca1fa28775 100755 (executable)
                 notify(get_string('entrysaved','data'));
 
                 if (!empty($datarecord->saveandview)) {
-                    redirect($CFG->wwwroot.'/mod/data/view.php?d='.$data->id.'&amp;rid='.$rid);
+                    redirect($CFG->wwwroot.'/mod/data/view.php?d='.$data->id.'&amp;rid='.$recordid);
                 }
             }
         }