Skip to content

Commit

Permalink
Fix Errors
Browse files Browse the repository at this point in the history
  • Loading branch information
cincarnato committed May 20, 2018
1 parent d0f0c47 commit f1174ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Modulo con funcionalides comunes para Zend Framework 3",
"type": "library",
"license": "MIT",
"version": "1.3.2",
"version": "1.3.3",
"homepage": "https://github.com/cincarnato",
"keywords": [
"zf3"
Expand Down
3 changes: 1 addition & 2 deletions src/Service/FormProcess.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,7 @@ protected function erroToFlash() {
}
foreach ($this->form->getMessages() as $key => $messages) {
foreach ($messages as $msj) {
$m[$key][] = $msj;
$this->errors[] = $m;
$this->errors[$key][] = $msj;
if ($this->flash) {
$this->getFlashMessenger()->addErrorMessage($msj);
}
Expand Down

0 comments on commit f1174ef

Please sign in to comment.