Skip to content
Browse files

Allow showing error message when insert_record fails.

  • Loading branch information...
1 parent d0e1fd0 commit 6a4c28904ae69f2c6cf34f499f1341f59aa398dc ethem committed May 16, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 enrol/authorize/locallib.php
View
2 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 6a4c289

Please sign in to comment.
Something went wrong with that request. Please try again.