Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit a7f53e74f6210302e2a3fc992699d948caa30b7c 1 parent 8a6733e
ethem authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  enrol/authorize/enrol.php
View
2  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)) {
Please sign in to comment.
Something went wrong with that request. Please try again.