Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LQDN Adminsys
don
Commits
49b64116
Commit
49b64116
authored
May 06, 2019
by
Okhin
Browse files
Initializing message with a list instead of an empty string
parent
f9fb9e05
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
www/index.php
View file @
49b64116
...
...
@@ -45,10 +45,10 @@ $f3->set('ONERROR', function ($f3) {
// If neither error or message are set, define them
if
(
!
$f3
->
exists
(
'SESSION.message'
))
{
$f3
->
push
(
'SESSION.message'
,
''
);
$f3
->
push
(
'SESSION.message'
,
[]
);
}
if
(
!
$f3
->
exists
(
'SESSION.error'
))
{
$f3
->
push
(
'SESSION.error'
,
''
);
$f3
->
push
(
'SESSION.error'
,
[]
);
}
$f3
->
get
(
'container'
)[
'session'
]
->
set
(
'csrf'
,
$csrf
);
...
...
Write
Preview
Markdown
is supported
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