-
Bug
-
Resolution: Fixed
-
Minor
-
3.11.4
-
MOODLE_311_STABLE
-
MOODLE_311_STABLE
-
MDL-73153-master -
-
Moppies Kanban
While creating a user for testing purposes I've faced the following error: external badges with additional information in their badge images, such as the author details or the caption, are raising the following error:
Warning: htmlspecialchars() expects parameter 1 to be string, object given in moodle/lib/weblib.php on line 100 |
The problem is that, when this data is present, the image field doesn't contain the image URL; in that case, it's an object with several fields, so it should be processed properly to get the URL.