Skip to content

Commit

Permalink
Merge branch 'trunk' of https://github.com/ILIAS-eLearning/ILIAS into…
Browse files Browse the repository at this point in the history
… trunk
  • Loading branch information
alex40724 committed Sep 30, 2024
2 parents 527167a + ce47a93 commit 327002e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ public function loadObjectivesTitles()
*/
public function getQuestionRelatedObjectiveTitles($questionId): string
{
if (!isset($this->objectivesByQuestion['questionId'])
|| !is_array($this->objectivesByQuestion['questionId'])) {
if (!isset($this->objectivesByQuestion[$questionId])
|| !is_array($this->objectivesByQuestion[$questionId])) {
return '';
}

Expand Down Expand Up @@ -137,8 +137,8 @@ public function getObjectives(): array

public function isQuestionRelatedToObjective($questionId, $objectiveId): bool
{
if (!isset($this->objectivesByQuestion['questionId'])
|| !is_array($this->objectivesByQuestion['questionId'])) {
if (!isset($this->objectivesByQuestion[$questionId])
|| !is_array($this->objectivesByQuestion[$questionId])) {
return false;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
use ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolution;
use ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionsDatabaseRepository;
use ILIAS\TestQuestionPool\Questions\GeneralQuestionPropertiesRepository;

use ILIAS\Refinery\Factory as Refinery;
use ILIAS\Notes\GUIService;

Expand Down

0 comments on commit 327002e

Please sign in to comment.