Permalink
Browse files

Fix: Redirect to order details page 10 seconds later, not home page. …

…Merged from MOODLE_16_STABLE.
  • Loading branch information...
ethem
ethem committed May 13, 2006
1 parent 4377c29 commit e81e5c16043d7ad267f9c4839911e07ae1651d53
Showing with 1 addition and 1 deletion.
  1. +1 −1 enrol/authorize/enrol.php
@@ -588,7 +588,7 @@ function prevent_double_paid($course)
if ($rec=get_record('enrol_authorize','userid',$USER->id,'courseid',$course->id,'status',$status,'id')) {
$a->orderid = $rec->id;
$a->url = "$CFG->wwwroot/enrol/authorize/index.php?order=$a->orderid";
- redirect($CFG->wwwroot, get_string("paymentpending", "enrol_authorize", $a), '20');
+ redirect($a->url, get_string("paymentpending", "enrol_authorize", $a), '10');
return;
}
if (isset($SESSION->ccpaid)) {

0 comments on commit e81e5c1

Please sign in to comment.