MDL-53451 competency: Hook for scale_used used undefined variable

This commit is contained in:
Frederic Massart 2016-04-20 15:17:40 +08:00
parent 0abaf33e00
commit 4fd183d3c3

View file

@ -290,7 +290,7 @@ class grade_scale extends grade_object {
} }
// Ask the competency subsystem. // Ask the competency subsystem.
if (\core_competency\api::is_scale_used_anywhere($scaleid)) { if (\core_competency\api::is_scale_used_anywhere($this->id)) {
return true; return true;
} }