Permalink
Browse files

Allow showing error message when insert_record fails.

merged from 16_stable.
  • Loading branch information...
1 parent f73e218 commit 98f6b1eb54fac7a8d7fc4eb2dcc638d9a7a9cf52 ethem committed May 16, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 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'),

0 comments on commit 98f6b1e

Please sign in to comment.