mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
Merge branch 'MDL-53451-master-fixup' of https://github.com/FMCorz/moodle
This commit is contained in:
commit
913dcb1b81
10 changed files with 76 additions and 35 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