diff --git a/enrol/authorize/locallib.php b/enrol/authorize/locallib.php index 3b08167e268..91a0f88e91f 100644 --- a/enrol/authorize/locallib.php +++ b/enrol/authorize/locallib.php @@ -309,8 +309,8 @@ function authorize_print_order_details($orderno) if (!empty($unenrol)) { unenrol_student($order->userid, $order->courseid); } + redirect("index.php?order=$orderno"); } - redirect("index.php?order=$orderno"); } else { $table->data[] = array(get_string('testmode', 'enrol_authorize'),