Skip to content
This repository has been archived by the owner on Mar 8, 2021. It is now read-only.

Commit

Permalink
Merge pull request #1408 from evolution-cms/master
Browse files Browse the repository at this point in the history
formlister fix typo
  • Loading branch information
Dmi3yy authored Mar 23, 2018
2 parents 210fa59 + a5aff20 commit 118427e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/snippets/FormLister/core/FormLister.abstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,7 @@ public function renderMessages()
'messagesOuterTpl',
'messagesSplitter'
);
$renderErrors = strpos($wrapper, '[+errors+]') !== false || strpos($wrapper, ['+required+']) !== false;
$renderErrors = strpos($wrapper, '[+errors+]') !== false || strpos($wrapper, '[+required+]') !== false;
if ($renderErrors) {
$formErrors = array_filter($this->getFormData('errors'));
$requiredMessages = $errorMessages = array();
Expand Down

0 comments on commit 118427e

Please sign in to comment.