Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Maarch
thirdPartyArchiving
Commits
5c1d657a
Verified
Commit
5c1d657a
authored
Feb 25, 2019
by
Alexandre Morin
Browse files
Added hashAlgorithm in document information
parent
8bcecf09
Changes
1
Hide whitespace changes
Inline
Side-by-side
presentation/maarchRM/Presenter/medona/message.php
View file @
5c1d657a
...
...
@@ -313,6 +313,16 @@ class message
}
}
}
}
elseif
(
$baseMessage
->
schema
==
'seda'
)
{
if
(
isset
(
$messageObject
->
archive
))
{
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
);
}
}
}
}
}
$messageObjects
[]
=
$messageObject
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment