Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

$teacher is used in manual form. No need global.

  • Loading branch information...
commit 0dafbf714a7ffc7a5dbc324702e0ca0d09e4e56c 1 parent 381cc85
ethem authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  enrol/authorize/enrol.php
View
2  enrol/authorize/enrol.php
@@ -112,7 +112,6 @@ function print_entry($course) {
}
}
- $teacher = get_teacher($course->id);
$strcourses = get_string('courses');
$strloginto = get_string('loginto', '', $course->shortname);
$zerocost = $this->zero_cost($course);
@@ -142,6 +141,7 @@ function print_entry($course) {
if ($course->password) {
$password = '';
+ $teacher = get_teacher($course->id);
include($CFG->dirroot.'/enrol/manual/enrol.html');
}
Please sign in to comment.
Something went wrong with that request. Please try again.