Uncapitalised usage of the 'context_system' class
This commit is contained in:
parent
e4db1591dd
commit
c1ac1b9e43
1 changed files with 1 additions and 1 deletions
2
edit.php
2
edit.php
|
@ -67,7 +67,7 @@ if ($context->contextlevel == CONTEXT_SYSTEM) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// The form for loading a customcert templates.
|
// The form for loading a customcert templates.
|
||||||
if ($tid && $DB->count_records('customcert_templates', array('contextid' => CONTEXT_SYSTEM::instance()->id)) > 0) {
|
if ($tid && $DB->count_records('customcert_templates', array('contextid' => context_system::instance()->id)) > 0) {
|
||||||
$loadtemplateurl = new moodle_url('/mod/customcert/load_template.php', array('tid' => $tid));
|
$loadtemplateurl = new moodle_url('/mod/customcert/load_template.php', array('tid' => $tid));
|
||||||
$loadtemplateform = new \mod_customcert\load_template_form($loadtemplateurl);
|
$loadtemplateform = new \mod_customcert\load_template_form($loadtemplateurl);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue