MDL-66708 lti adv: fix check for key in config

This commit is contained in:
Claude Vervoort
2019-11-25 14:14:33 -05:00
parent a5f618d6a9
commit 2a6ea30ef4
+1 -1
View File
@@ -35,7 +35,7 @@ defined('MOODLE_INTERNAL') || die();
* @return string A warning message if a private key does not exist and cannot be generated.
*/
function mod_lti_verify_private_key() {
$key = get_config('privatekey', 'mod_lti');
$key = get_config('mod_lti', 'privatekey');
// If we already generated a valid key, no need to check.
if (empty($key)) {