Skip to content

Commit

Permalink
Correct array keys for parentless transcripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Sisk committed Sep 13, 2012
1 parent 710467b commit 66c4b9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webcomic.php
Expand Up @@ -779,7 +779,7 @@ public function the_posts( $posts, $query ) {
}
}

return array_unique( $posts, SORT_REGULAR );
return array_values( array_unique( $posts, SORT_REGULAR ) );
}

return $posts;
Expand Down

0 comments on commit 66c4b9f

Please sign in to comment.