Skip to content
This repository was archived by the owner on Jan 31, 2020. It is now read-only.

Commit af205f5

Browse files
committed
Merge branch 'hotfix/32'
Close #32
2 parents bec56ca + 2cee7aa commit af205f5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Helper/FlashMessenger.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,10 @@ protected function renderMessages(
135135
array $classes = [],
136136
$autoEscape = null
137137
) {
138+
if (empty($messages)) {
139+
return '';
140+
}
141+
138142
// Prepare classes for opening tag
139143
if (empty($classes)) {
140144
if (isset($this->classMessages[$namespace])) {

0 commit comments

Comments
 (0)