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

Commit 118427e

Browse files
authored
Merge pull request #1408 from evolution-cms/master
formlister fix typo
2 parents 210fa59 + a5aff20 commit 118427e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/snippets/FormLister/core/FormLister.abstract.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@ public function renderMessages()
870870
'messagesOuterTpl',
871871
'messagesSplitter'
872872
);
873-
$renderErrors = strpos($wrapper, '[+errors+]') !== false || strpos($wrapper, ['+required+']) !== false;
873+
$renderErrors = strpos($wrapper, '[+errors+]') !== false || strpos($wrapper, '[+required+]') !== false;
874874
if ($renderErrors) {
875875
$formErrors = array_filter($this->getFormData('errors'));
876876
$requiredMessages = $errorMessages = array();

0 commit comments

Comments
 (0)