Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/5.3-develop' into 5.3-develop
Browse files Browse the repository at this point in the history
  • Loading branch information
brookgagnon committed Dec 2, 2024
2 parents d9a43fd + 8bc2ec5 commit 4eb70e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/playlists_model.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public function get_items($id)
}

if ($item['type'] == 'image' || $item['type'] == 'document') {
$item['duration'] = $item['properties']['duration'];
$item['duration'] = $item['properties']['duration'] ?? 15;
}

// we don't use this (merged into 'type')
Expand Down

0 comments on commit 4eb70e0

Please sign in to comment.