Permalink
Browse files

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

  • Loading branch information...
1 parent 8a6733e commit a7f53e74f6210302e2a3fc992699d948caa30b7c ethem committed May 13, 2006
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 a7f53e7

Please sign in to comment.