Commit f3f924a
committed
MDL-86170: use get_custom_rules in get_available_custom_rules
The call to $this->cm->customdata in
activity_custom_completion::get_available_custom_rules can sometimes
lead to a recursion in __get() which then throws the error “Cannot
access private property cm_info::$customdata”. This should use the
direct get_custom_data method instead.1 parent 26a8e00 commit f3f924a
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| |||
0 commit comments