Skip to content

Commit

Permalink
Merge pull request #1 from catalyst/401_fix_error_during_install
Browse files Browse the repository at this point in the history
Circumvent Undefined property warning resolves kaltura#405.
  • Loading branch information
golenkovm authored Feb 19, 2024
2 parents 9288f7d + 82a43a6 commit b2cbf71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion local/kaltura/locallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -792,7 +792,7 @@ function local_kaltura_get_config() {
$configsettings->kaf_uri = 'http://'.$configsettings->kaf_uri;
}

if (!empty($configsettings->kaf_uri) && $configsettings->lti_version == LTI_VERSION_1P3) {
if (isset($configsettings->lti_version) && (!empty($configsettings->kaf_uri) && $configsettings->lti_version == LTI_VERSION_1P3)) {
$configsettings->public_keyset_url = $configsettings->kaf_uri . '/hosted/index/lti-advantage-key-set';
$configsettings->launch_url = $configsettings->kaf_uri . '/hosted/index/oidc-init';
$configsettings->redirection_uris = $configsettings->kaf_uri . '/hosted/index/oauth2-launch';
Expand Down

0 comments on commit b2cbf71

Please sign in to comment.