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
MaarchCourrier
Commits
df3589a2
Commit
df3589a2
authored
Nov 24, 2021
by
Mathieu
Browse files
FIX #18719 TIME 1:00 remove wrong develop push and resetting code
parent
23c4b43f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/app/resource/controllers/ResController.php
View file @
df3589a2
...
...
@@ -397,7 +397,6 @@ class ResController extends ResourceControlController
$identifiers
=
!
empty
(
$data
[
'chrono'
])
?
$data
[
'chrono'
]
:
$data
[
'resId'
];
foreach
(
$identifiers
as
$id
)
{
if
(
!
empty
(
$data
[
'chrono'
]))
{
$id
=
trim
(
$id
);
$document
=
ResModel
::
getByAltIdentifier
([
'altIdentifier'
=>
$id
,
'select'
=>
[
'res_id'
]]);
}
else
{
$document
=
ResModel
::
getById
([
'resId'
=>
$id
,
'select'
=>
[
'res_id'
]]);
...
...
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