-
Bug
-
Resolution: Fixed
-
Major
-
3.0.5, 3.1, 3.2
-
MOODLE_30_STABLE, MOODLE_31_STABLE, MOODLE_32_STABLE
-
MOODLE_30_STABLE, MOODLE_31_STABLE
-
MDL-55457-master -
According to the specification icon_info should be an object not an array.
https://www.imsglobal.org/lti/model/mediatype/application/vnd/ims/lti/v2/toolproxy%2Bjson/index.html
However since we've supported having it as array for so long and people may be using it that way, a simple check to see if it's an array or not should be enough
See service/toolproxy/classes/local/resource/toolproxy.php execute()