Permalink
Browse files

Some fixes.

1 parent fab7fbe commit da32de5c8983889d432f6bc6fef9761b0bb255b0 ethem committed May 26, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 enrol/authorize/enrol.php
View
2 enrol/authorize/enrol.php
@@ -149,7 +149,7 @@ function cc_submit($form, $course)
if (!empty($CFG->an_tran_key)) {
$poststring .= urlencode("x_tran_key") . "=" . urlencode($CFG->an_tran_key);
}
- if (!empty($CFG->an_password)) {
+ else { // MUST be an_tran_key or x_password
$poststring .= urlencode("x_password") . "=" . urlencode($CFG->an_password);
}
foreach($formdata as $key => $val) {

0 comments on commit da32de5

Please sign in to comment.