Skip to content

Commit

Permalink
Revert Icon Change - Change Title to Pool/Test title
Browse files Browse the repository at this point in the history
  • Loading branch information
jcopado committed Oct 25, 2023
1 parent 7cca1ee commit bea4c02
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1387,9 +1387,9 @@ public function setTitleAndDescription(): void
if (!$title) {
$title = $this->lng->txt('new') . ': ' . $this->questioninfo->getQuestionType($q_gui->object->getId());
}
$this->tpl->setTitle($title);
$this->tpl->setTitle($this->object->getTitle());
$this->tpl->setDescription($q_gui->object->getComment());
$this->tpl->setTitleIcon('templates/default/images/standard/icon_ques.svg');
$this->tpl->setTitleIcon(ilObject2::_getIcon($this->object->getId(), 'big', $this->object->getType()));
} else {
// Workaround for context issues: If no object was found, redirect without q_id parameter
$this->ctrl->setParameter($this, 'q_id', '');
Expand Down

0 comments on commit bea4c02

Please sign in to comment.