Skip to content

Commit

Permalink
Update timeline.php
Browse files Browse the repository at this point in the history
  • Loading branch information
abemedia committed Sep 14, 2015
1 parent 1c5b706 commit abeb82f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/models/timeline.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public function &getData($id = null) {
$result->endDate = ($result->endDate>0 ? JHtml::date($result->endDate, 'Y,m,d') : $result->startDate);
$result->asset = new stdClass;
$result->asset->media = $result->media;
$result->asset->thumbnail = JUri::base() . $result->thumbnail;
if($result->thumbnail) $result->asset->thumbnail = JUri::base() . $result->thumbnail;
$result->asset->credit = $result->credit;
$result->asset->caption = $result->caption;
unset($result->media, $result->thumbnail, $result->credit, $result->caption);
Expand Down

0 comments on commit abeb82f

Please sign in to comment.