Tracker #MDL-9353 - Paypal cost of course not visible in course settings.

This commit is contained in:
mchurch
2007-07-13 20:31:26 +00:00
parent 388234f4c5
commit 82d3334acd
+1 -1
View File
@@ -293,7 +293,7 @@ class course_edit_form extends moodleform {
// If we are creating a course, its enrol method isn't yet chosen, BUT the site has a default enrol method which we can use here
$enrol_object = $CFG;
if (!empty($course)) {
$enrol_oject = $course;
$enrol_object = $course;
}
if (method_exists(enrolment_factory::factory($enrol_object->enrol), 'print_entry') && $enrol_object->enrol != 'manual'){
$costgroup=array();