-
Bug
-
Resolution: Fixed
-
Minor
-
4.2 regressions, 4.3.9, 4.4.5
See the following PHP warnings when calling the core_grading_get_gradingform_instances external service:
[Wed Nov 06 08:03:22.897667 2024] [php:warn] [pid 32:tid 32] [client 172.18.0.1:43878] PHP Warning: Attempt to read property "id" on int in /var/www/html/lib/external/classes/util.php on line 555
|
172.18.0.1 - - [06/Nov/2024:08:03:22 +0000] "POST /webservice/rest/server.php?moodlewsrestformat=json HTTP/1.1" 200 608 "-" "curl/7.68.0"
|
It's because the text formatting inside that method is passing $context->id instead of expected $context instance
- is a regression caused by
-
MDL-76583 Move lib/externallib.php to namespaced classes and fix coding style, etc.
-
- Closed
-