Commit 56eea994 authored by Arnaud Pauget's avatar Arnaud Pauget
Browse files

Merge branch 'fix/Communication_Request' into 'release/2.4'

Add new variable to check if the archive is communicable or not

See merge request maarch/thirdPartyArchiving!65
parents 568b3956 0a2e63df
......@@ -122,8 +122,8 @@ class ArchiveDeliveryRequest extends abstractMessage
$messages = array();
foreach ($archiveIds as $archiveId) {
$archive = $this->archiveController->retrieve($archiveId);
$archive = $this->archiveController->retrieve($archiveId, $withBinary = false, $checkAccess = true, $isCommunication = true);
if (!isset($archivesByOriginator[$archive->originatorOrgRegNumber])) {
$archivesByOriginator[$archive->originatorOrgRegNumber] = array();
}
......
Markdown is supported
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