Skip to content

Commit 3a36f4f

Browse files
committed
MC-40777: Cannot save product in store view scope without Magento_Catalog::edit_product_design
1 parent c391aee commit 3a36f4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Model/Product/Authorization.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ private function hasProductChanged(ProductModel $product, ?array $oldProduct = n
129129
//No new value
130130
continue;
131131
}
132-
if ($attribute->getBackendType() == 'datetime' && empty($newValue)) {
132+
if ($attribute->getBackendType() == 'datetime' && $newValue === null) {
133133
continue;
134134
}
135135
if (!in_array($newValue, $oldValues, true)) {

0 commit comments

Comments
 (0)