@@ -140,6 +140,8 @@ class FooterService implements FooterServiceInterface
if(!empty($child)){
$footer_category['child_name'] = $child['name'];
$footer_category['is_child'] = 1;
+ }else{
+ $footer_category['is_child'] = 0;
}
$result = [
'rows'=>$footer_category,