Skip to content

Commit

Permalink
MDL-66708 lti adv: fix check for key in config
Browse files Browse the repository at this point in the history
  • Loading branch information
claudevervoort committed Nov 25, 2019
1 parent a5f618d commit 2a6ea30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/lti/upgradelib.php
Expand Up @@ -35,7 +35,7 @@
* @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)) {
Expand Down

0 comments on commit 2a6ea30

Please sign in to comment.