Merge pull request #4812 from devansh-webkul/issue-4811
Fixed error when redirect on review page #4811
This commit is contained in:
commit
7525a5ab29
|
|
@ -79,7 +79,9 @@ class ProductController extends Controller
|
|||
'attribute_id' => $attributeId,
|
||||
]);
|
||||
|
||||
return Storage::download($productAttribute['text_value']);
|
||||
return isset($productAttribute['text_value'])
|
||||
? Storage::download($productAttribute['text_value'])
|
||||
: null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue