Skip to content

Commit

Permalink
Update TwbBundleFormErrors.php
Browse files Browse the repository at this point in the history
Fix
  • Loading branch information
alejandro-fiore authored Dec 22, 2016
1 parent 48847bd commit 65f317e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TwbBundle/Form/View/Helper/TwbBundleFormErrors.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function render(FormInterface $oForm, $sMessage, $bDismissable = false)
foreach ($oForm->getMessages() as $fieldName => $sMessages) {
foreach ($sMessages as $sMessage) {
$fMessage = $sMessage;
if (is_array($sMessage) {
if (is_array($sMessage)) {
$fMessage = implode('<br/>', $sMessage);
}
if ($oForm->get($fieldName)->getAttribute('id')) {
Expand Down

0 comments on commit 65f317e

Please sign in to comment.