Skip to content

Commit

Permalink
Add missing query param
Browse files Browse the repository at this point in the history
Well, probably missing or irrelevant.
  • Loading branch information
Tetrakern committed Oct 26, 2024
1 parent 0ef03c5 commit f19bdaa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions includes/functions/_setup-meta-fields.php
Original file line number Diff line number Diff line change
Expand Up @@ -2365,6 +2365,7 @@ function fictioneer_save_story_metaboxes( $post_id ) {
// Make sure only allowed posts are in
$chapter_query_args = array(
'post_type' => 'fcn_chapter',
'post_status' => 'any',
'post__in' => $chapter_ids ?: [0], // Must not be empty!
'orderby' => 'post__in',
'fields' => 'ids',
Expand Down

0 comments on commit f19bdaa

Please sign in to comment.