Browse Source

fix slideshow

master
Aaron Parecki 6 years ago
parent
commit
779ddba26a
No known key found for this signature in database GPG Key ID: 276C2817346D6056
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/Http/Controllers/SlideshowController.php

+ 1
- 1
app/Http/Controllers/SlideshowController.php View File

@ -18,7 +18,7 @@ class SlideshowController extends Controller
foreach(json_decode($tweet->photo) as $photo) {
$photos[] = [
'img' => $photo,
'description' => $tweet->team->name . ' Team: ' . $tweet->text
'description' => ($tweet->team ? $tweet->team->name . ' Team: ' : '') . $tweet->text
];
}
}

Loading…
Cancel
Save