Skip to content

Commit

Permalink
item group: 37958: Cannot rename item groups
Browse files Browse the repository at this point in the history
  • Loading branch information
alex40724 committed Sep 17, 2023
1 parent 68c9f8f commit 58cdfc4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Modules/ItemGroup/classes/class.ilObjItemGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,12 @@ protected function doUpdate(): void
{
if ($this->getId()) {
$this->item_data_ar->update();

$trans = ilObjectTranslation::getInstance($this->getId());
;
$trans->setDefaultTitle($this->getTitle());
$trans->setDefaultDescription($this->getLongDescription());
$trans->save();
}
}

Expand Down

0 comments on commit 58cdfc4

Please sign in to comment.