Merge branch 'feature/vehicle_new_sku' into develop
This commit is contained in:
@@ -52,7 +52,7 @@ class VehicleNewAttributesController extends BaseController
|
|||||||
];
|
];
|
||||||
|
|
||||||
if(!empty($item['category_id'])){
|
if(!empty($item['category_id'])){
|
||||||
$category = VehicleNewAttributeCategoriesTranslationModel::find($item['category_id']);
|
$category = VehicleNewAttributeCategoriesTranslationModel::where(['category_id'=>$item['category_id']])->first();
|
||||||
$result['category_name'] = $category['category_name'];
|
$result['category_name'] = $category['category_name'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user