Commit b559c98f authored by Alexandre Morin's avatar Alexandre Morin
Browse files

Merge branch 'bugfix/2.3.4' into 'Support/2.3.X'

bugfix/2.3.4

See merge request maarch/archivesPubliques!52
parents a22ec977 93b97e6d
......@@ -141,7 +141,7 @@ class ArchiveTransfer extends abstractMessage implements \ext\thirdPartyArchivin
{
$documents = [];
if (count($archive->document)) {
if (isset($archive->document)) {
foreach ($archive->document as $document) {
$documents[] = $document;
}
......
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