Skip to content

Commit

Permalink
add featured to tours json
Browse files Browse the repository at this point in the history
  • Loading branch information
ebellempire committed Jul 17, 2024
1 parent addcd07 commit 0a60c82
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions views/helpers/TourJsonifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ public function tourJsonifier( $tour, $isExtended = false ){
$tour_metadata = array(
'id' => $tour->id,
'ordinal' => isset($tour->ordinal) ? $tour->ordinal : 0,
'featured' => isset($tour->featured) ? $tour->featured : 0,
'title' => $tour->title,
'creator' => $tour->credits,
'description' => nl2p($tour->description),
Expand Down

0 comments on commit 0a60c82

Please sign in to comment.