¨4.0.1¨
This commit is contained in:
@@ -38,6 +38,7 @@ class SaveStorefrontRequest extends Request
|
||||
'storefront_product_tabs_2_section_tab_4_products',
|
||||
];
|
||||
|
||||
|
||||
/**
|
||||
* Get data to be validated from the request.
|
||||
*
|
||||
@@ -46,7 +47,7 @@ class SaveStorefrontRequest extends Request
|
||||
public function validationData()
|
||||
{
|
||||
foreach ($this->shouldCheck as $attribute) {
|
||||
if (! $this->has($attribute)) {
|
||||
if (!$this->has($attribute)) {
|
||||
$this->merge([$attribute => null]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user