mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
MDL-53451 competency: Hook for scale_used used undefined variable
This commit is contained in:
parent
0abaf33e00
commit
4fd183d3c3
1 changed files with 1 additions and 1 deletions
|
@ -290,7 +290,7 @@ class grade_scale extends grade_object {
|
|||
}
|
||||
|
||||
// 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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue