diff --git a/enrol/authorize/enrol.html b/enrol/authorize/enrol.html
index 23c376d30cf..6135da909a0 100755
--- a/enrol/authorize/enrol.html
+++ b/enrol/authorize/enrol.html
@@ -21,16 +21,14 @@
case AN_METHOD_ECHECK:
{
- print_eheck_form($this);
+ print_echeck_form($this);
break;
}
}
-?>
-
+
- |
+ |
: |
@@ -142,11 +141,12 @@ function print_cc_form($classreference)
-
+
echeck form (not ready)
- |
+ |
: |
@@ -216,17 +217,20 @@ function print_echeck_form($classreference)
-
id.'&paymentmethod='.AN_METHOD_ECHECK;
$stringtofetch = 'usingecheckmethod';
}
else {
- $otheravailable = in_array(AN_METHOD_CC, $paymentmethodsenabled);
+ $otheravailable = in_array(AN_METHOD_CC, enrolment_plugin_authorize::get_list_of_payment_methods());
$url = 'enrol.php?id='.$course->id.'&paymentmethod='.AN_METHOD_CC;
$stringtofetch = 'usingccmethod';
}