Verified Commit 88a2fac3 authored by Alexandre Morin's avatar Alexandre Morin
Browse files

Fix template archive seda2

parent 5a16432f
...@@ -268,6 +268,10 @@ class message ...@@ -268,6 +268,10 @@ class message
$archive->content->originatingAgency->name = $this->loadOrganizationName($archive->content->originatingAgency, $message); $archive->content->originatingAgency->name = $this->loadOrganizationName($archive->content->originatingAgency, $message);
} }
if ($archive->content->submissionAgency) {
$archive->content->submissionAgency->name = $this->loadOrganizationName($archive->content->submissionAgency, $message);
}
if ($archive->archiveUnit) { if ($archive->archiveUnit) {
foreach ($archive->archiveUnit as $archiveChildren) { foreach ($archive->archiveUnit as $archiveChildren) {
if ($archiveChildren->content->originatingAgency) { if ($archiveChildren->content->originatingAgency) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment