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
maarchRM
Commits
f830a28c
Commit
f830a28c
authored
Jun 28, 2017
by
Prosper De Laure
Browse files
Bug correction on archive reading when the archive has no profile
parent
189d1068
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/presentation/maarchRM/Presenter/recordsManagement/welcome.php
View file @
f830a28c
...
...
@@ -293,9 +293,11 @@ class welcome
$descriptionHtml
=
'<table">'
;
if
(
isset
(
$archive
->
descriptionObject
))
{
foreach
(
$archivalProfile
->
archiveDescription
as
$archiveDescription
)
{
if
(
!
array_key_exists
(
$archiveDescription
->
fieldName
,
$archive
->
descriptionObject
))
{
$archive
->
descriptionObject
->
{
$archiveDescription
->
fieldName
}
=
""
;
if
(
isset
(
$archivalProfile
->
archiveDescription
))
{
foreach
(
$archivalProfile
->
archiveDescription
as
$archiveDescription
)
{
if
(
!
array_key_exists
(
$archiveDescription
->
fieldName
,
$archive
->
descriptionObject
))
{
$archive
->
descriptionObject
->
{
$archiveDescription
->
fieldName
}
=
""
;
}
}
}
...
...
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