Commit 8c8b79e8 authored by okhin's avatar okhin 🚴

Ne pas afficher les messages de longueur nulle

parent bc4458f8
Pipeline #2280 passed with stages
in 12 seconds
......@@ -25,9 +25,11 @@ class MessageHelper extends \Prefab
{
$html = '';
foreach ($messages as $message) {
$html .= "<div class=\"$class\">";
$html .= $message;
$html .= "</div>";
if (strlen($message) > 0) {
$html .= "<div class=\"$class\">";
$html .= $message;
$html .= "</div>";
}
}
echo $html;
}
......
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