Commit d0604d9c authored by Fabrice Gangler's avatar Fabrice Gangler 🎨 Committed by Matthieu FAURE
Browse files

FIX: remove a PHP error ("Undefined index")

Refs: #865
parent 35c0fb19
Pipeline #9812 passed with stage
in 3 minutes and 37 seconds
......@@ -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"]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment