Skip to content

Commit

Permalink
Merge pull request #344 from oat-sa/fix/AUT-2852/fix_export_for_migra…
Browse files Browse the repository at this point in the history
…ted_PCis

fix: missing modules element
  • Loading branch information
pnal authored Dec 12, 2022
2 parents be7b4f2 + a6f9ec9 commit e50573d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions model/portableElement/export/ImsPciExporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ public function exportDom(DOMDocument $dom)

if (!empty($modulesNode)) {
$this->removeOldNode($modulesNode, 'module');
} else {
$modulesNode = $currentPortableNode->appendChild($dom->createElement('modules'));
}

$runtime = $portableElement->getRuntime();
Expand Down

0 comments on commit e50573d

Please sign in to comment.