Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.11.4
-
Moppies Kanban
Description
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.