Skip to content

Commit

Permalink
41692: Export of Glossary fails with error message
Browse files Browse the repository at this point in the history
  • Loading branch information
alex40724 committed Jul 12, 2024
1 parent b148609 commit 96faa19
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Services/MediaObjects/classes/class.ilMediaObjectDataSet.php
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,9 @@ public function getXmlRecord(
): array {
if ($a_entity == "mob") {
$dir = ilObjMediaObject::_getDirectory($a_set["Id"]);
if (!is_dir($dir)) {
ilFileUtils::makeDirParents($dir);
}
$a_set["Dir"] = $dir;
}

Expand Down

0 comments on commit 96faa19

Please sign in to comment.