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 941a525 commit 9e3ca7bCopy full SHA for 9e3ca7b
lib/internal/Magento/Framework/Webapi/ServiceInputProcessor.php
@@ -260,7 +260,7 @@ private function processCustomAttribute($customAttribute)
260
throw new SerializationException(new Phrase('There is an empty custom attribute specified.'));
261
} elseif (!$customAttributeCode) {
262
throw new SerializationException(new Phrase('A custom attribute is specified without an attribute code.'));
263
- } elseif (!isset($customAttribute[AttributeValue::VALUE])) {
+ } elseif (!array_key_exists(AttributeValue::VALUE, $customAttribute)) {
264
throw new SerializationException(
265
new Phrase('Value is not set for attribute code "' . $customAttributeCode . '"')
266
);
0 commit comments