Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
prodige
bdl_visualiseur_core
Commits
215060f8
Commit
215060f8
authored
Nov 02, 2022
by
ndurand
Browse files
[FIX] PrintContoller : correction options header/footer
parent
138ffa7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Controllers/PrintController.php
View file @
215060f8
...
...
@@ -292,6 +292,7 @@ class PrintController extends ControllerBase
$pageNumber
=
$requestBody
[
'pageNumber'
];
}
// header / footer
$header
=
isset
(
$requestBody
[
'options'
])
&&
isset
(
$requestBody
[
'options'
][
'header'
])
?
$requestBody
[
'options'
][
'header'
]
:
''
;
$footer
=
isset
(
$requestBody
[
'options'
])
&&
isset
(
$requestBody
[
'options'
][
'footer'
])
?
$requestBody
[
'options'
][
'footer'
]
:
''
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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