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 212d69a commit 514a97dCopy full SHA for 514a97d
app/code/Magento/Catalog/Model/Attribute/Backend/Startdate.php
@@ -7,7 +7,7 @@
7
8
/**
9
*
10
- * Speical Start Date attribute backend
+ * Special Start Date attribute backend
11
12
* @api
13
@@ -83,7 +83,7 @@ public function validate($object)
83
$attr = $this->getAttribute();
84
$maxDate = $attr->getMaxValue();
85
$startDate = $this->_getValueForSave($object);
86
- if ($startDate === false) {
+ if ($startDate === false || $startDate === null) {
87
return true;
88
}
89
0 commit comments