Verified Commit 0c7629f5 authored by Alexandre Morin's avatar Alexandre Morin
Browse files

Fix Displaying the hash algorithm for documents

parent ef42a494
......@@ -318,7 +318,9 @@ class message
foreach ($messageObject->archive as $archive) {
if (isset($archive->document)) {
foreach ($archive->document as $document) {
$document->integrity->hashAlgorithm = substr($document->integrity->algorithme, strrpos($document->integrity->algorithme, "#") + 1);
if (isset($document->integrity)) {
$document->integrity->hashAlgorithm = substr($document->integrity->algorithme, strrpos($document->integrity->algorithme, "#") + 1);
}
}
}
}
......
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