Commit 3d582ed5 authored by Charlotte Bataille's avatar Charlotte Bataille
Browse files

feat/20180 : fix method call

parent 4fc7d85b
......@@ -167,7 +167,7 @@ class ArchiveTransferComposition extends abstractMessage
public function addDocument($messageId, $documents)
$formatController = \laabs::newController('digitalResource/format');
$formatController = \laabs::newController('digitalResource/pronomFormat');
foreach ($documents as $document) {
if (is_resource($document->attachment->value)) {
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