Uncapitalised usage of the 'context_system' class
This commit is contained in:
parent
cb3f98a3b9
commit
317b737e96
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.
|
||||
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));
|
||||
$loadtemplateform = new \mod_customcert\load_template_form($loadtemplateurl);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue