We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e308da commit 07f73e8Copy full SHA for 07f73e8
lib/internal/Magento/Framework/Validator/DataObject.php
@@ -69,7 +69,8 @@ public function isValid($entity)
69
$this->_messages[] = array_values($validator->getMessages());
70
}
71
72
- return empty(array_merge([], ...$this->_messages));
+ $this->_messages = array_merge([], ...$this->_messages);
73
+ return empty($this->_messages);
74
75
76
/**
0 commit comments