Allow showing error message when insert_record fails.

merged from 16_stable.
This commit is contained in:
ethem
2006-05-16 15:02:52 +00:00
parent f73e218f40
commit 98f6b1eb54
+1 -1
View File
@@ -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'),