MDL-76362 enrol_lti: Prevent calling to DataConnector with null keys
commit240b1936032361db795318863fe0df6f3c0b6cc1
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Sat, 21 Jan 2023 15:01:33 +0000 (21 16:01 +0100)
committerAndrew Nicols <andrew@nicols.co.uk>
Mon, 23 Jan 2023 01:17:48 +0000 (23 09:17 +0800)
tree986e45a7f86904b4bd1ea6ceb5f43aed4e3972dc
parent4a76c772d70b0977288b94e2bcdbd7c6893537fb
MDL-76362 enrol_lti: Prevent calling to DataConnector with null keys

While it could have been fixed in DataConnector (3rd part lib), better
prevent in our code to call to it with null keys.

Covered by unit tests.
enrol/lti/classes/data_connector.php