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
f218201c
Commit
f218201c
authored
Jun 23, 2017
by
Alexis Ragot
Browse files
fix bug on descriptionObject
parent
7804dc34
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/presentation/maarchRM/Presenter/recordsManagement/welcome.php
View file @
f218201c
...
...
@@ -284,14 +284,13 @@ class welcome
}
else
{
$descriptionHtml
=
'<table">'
;
foreach
(
$archivalProfile
->
archiveDescription
as
$archiveDescription
)
{
if
(
!
array_key_exists
(
$archiveDescription
->
fieldName
,
$archive
->
descriptionObject
))
{
$archive
->
descriptionObject
->
{
$archiveDescription
->
fieldName
}
=
""
;
}
}
if
(
isset
(
$archive
->
descriptionObject
))
{
foreach
(
$archivalProfile
->
archiveDescription
as
$archiveDescription
)
{
if
(
!
array_key_exists
(
$archiveDescription
->
fieldName
,
$archive
->
descriptionObject
))
{
$archive
->
descriptionObject
->
{
$archiveDescription
->
fieldName
}
=
""
;
}
}
foreach
(
$archive
->
descriptionObject
as
$name
=>
$value
)
{
$label
=
$type
=
$archivalProfileField
=
null
;
if
(
$archivalProfile
)
{
...
...
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