chengwl 1 month ago
parent
commit
2930a6e97e
1 changed files with 3 additions and 0 deletions
  1. 3 0
      packages/Webkul/BagistoApi/src/Models/Product.php

+ 3 - 0
packages/Webkul/BagistoApi/src/Models/Product.php

@@ -904,6 +904,9 @@ class Product extends BaseProduct
                             }
                             }
                             return null;
                             return null;
                         })
                         })
+                        ->filter(function($value) {
+                            return $value !== null;
+                        })
                         ->values()
                         ->values()
                         ->all(),
                         ->all(),
                 ];
                 ];