Commit 5c83f8cd authored by Damyon Wiese's avatar Damyon Wiese
Browse files

MDL-57273 persistent: Remove use of helper as getter

get('blah') are for properties
get_blah() are for helpers
parent ae099a2a
......@@ -67,7 +67,7 @@ class competency extends persistent {
$mform->setType('parentid', PARAM_INT);
$mform->setConstant('parentid', ($parent) ? $parent->get('id') : 0);
$parentlevel = ($parent) ? $parent->get('level') : 0;
$parentlevel = ($parent) ? $parent->get_level() : 0;
$parentname = ($parent) ? $parent->get('shortname') : get_string('competencyframeworkroot', 'tool_lp');
$parentlabel = '';
if (!empty($competency->get('id'))) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment