Merge pull request #1572 from prashant-webkul/development
Generate product command bug fix
This commit is contained in:
commit
62e8826d17
|
|
@ -197,7 +197,9 @@ abstract class AbstractType
|
|||
}
|
||||
}
|
||||
|
||||
if (request()->route()->getName() != 'admin.catalog.products.massupdate') {
|
||||
$route = request()->route() ? request()->route()->getName() : "";
|
||||
|
||||
if ($route != 'admin.catalog.products.massupdate') {
|
||||
if (isset($data['categories']))
|
||||
$product->categories()->sync($data['categories']);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue