Commit bf06fefc0a847fde6148bfbe242332fd699c1341

Authored by Alex Savenko
1 parent cef26674

remarketing

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
console/controllers/FeedController.php
... ... @@ -39,7 +39,7 @@ class FeedController extends Controller
39 39 if ($this->checkId($product->product_id)) {
40 40 print $this->count++ . "\r\n";
41 41 $url = Url::to(['catalog/product', 'product' => $product]);
42   - $image = isset($product) ? $product->image->getImageUrl() : '/storage/no_photo.png';
  42 + $image = isset($product->image) ? $product->image->getImageUrl() : '/storage/no_photo.png';
43 43 $content[] = [
44 44 $product->variant->product_variant_id,
45 45 $product->category->category_id,
... ...