Skip to content

Commit 047c0ed

Browse files
authored
Merge pull request ILIAS-eLearning#11249 from surlabs/trunk_LTI_M46324
[FIX] LTI: Improve LTI consumer label in authentication mode filter
2 parents 1441072 + b0ca129 commit 047c0ed

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

components/ILIAS/LTIProvider/classes/InternalProvider/class.ilAuthProviderLTI.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,10 @@ public static function lookupConsumer(int $a_sid): string
120120
{
121121
$connector = new ilLTIDataConnector();
122122
$consumer = ilLTIPlatform::fromRecordId($a_sid, $connector);
123-
return $consumer->getTitle();
123+
124+
$object_ref = $consumer->getRefId();
125+
$object_title = ilObject2::_lookupTitle(ilObject2::_lookupObjectId($object_ref));
126+
return $consumer->getTitle() . " / " . $object_title;
124127
}
125128

126129
/**

0 commit comments

Comments
 (0)