Skip to content

Commit 34cc230

Browse files
committed
MAGETWO-55814: East team bugfixing
1 parent e4bf202 commit 34cc230

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute/Validate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ private function setMessageToResponse($response, $messages)
154154
*/
155155
private function checkUniqueOption(DataObject $response, array $options = null)
156156
{
157-
if (is_array($options) and !$this->isUniqueAdminValues($options['value'], $options['delete'])) {
157+
if (is_array($options) && !$this->isUniqueAdminValues($options['value'], $options['delete'])) {
158158
$this->setMessageToResponse($response, [__("The value of Admin must be unique.")]);
159159
$response->setError(true);
160160
}

0 commit comments

Comments
 (0)