Skip to content

Commit

Permalink
Missing parameter bagisto#354
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulrajkosta-webkul committed Jan 31, 2025
1 parent a9b146b commit 8f3d5e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Queries/Admin/Catalog/Products/ProductContent.php
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,6 @@ public function getPercentageRating($product)
*/
public function getProductShareUrl($product)
{
return route('shop.product_or_category.index', $product->url_key);
return route('shop.product_or_category.index', $product?->url_key ?? '');
}
}

0 comments on commit 8f3d5e4

Please sign in to comment.