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
Comptoir
Comptoir-srv
Commits
d0604d9c
Commit
d0604d9c
authored
May 28, 2020
by
Fabrice Gangler
🎨
Committed by
Matthieu FAURE
May 28, 2020
Browse files
FIX: remove a PHP error ("Undefined index")
Refs:
#865
parent
35c0fb19
Pipeline
#9812
passed with stage
in 3 minutes and 37 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/View/Helper/ListsHelper.php
View file @
d0604d9c
...
...
@@ -102,7 +102,7 @@ class ListsHelper extends Helper
]
)
:
null
;
if
(
strpos
(
$itemsDisplay
,
'<li'
)
==
false
)
{
if
(
strpos
(
$itemsDisplay
,
'<li'
)
==
false
&&
isset
(
$options
[
"emptyMsg"
])
)
{
$itemsDisplay
.
=
$this
->
Html
->
tag
(
'p'
,
$options
[
"emptyMsg"
]
...
...
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