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 e95d5d2 commit d396c0aCopy full SHA for d396c0a
app/code/Magento/Catalog/Controller/Adminhtml/Product/Attribute/Validate.php
@@ -128,7 +128,7 @@ public function execute()
128
$attributeCode
129
);
130
131
- if (in_array($attributeCode, self::RESERVED_CODES, true)) {
+ if (in_array($attributeCode, self:: RESERVED_ATTRIBUTE_CODES, true)) {
132
$message = __('Code (%1) is a reserved key and cannot be used as attribute code.', $attributeCode);
133
$this->setMessageToResponse($response, [$message]);
134
$response->setError(true);
0 commit comments