diff --git a/webcomic.php b/webcomic.php index 8443f51..8431cc1 100755 --- a/webcomic.php +++ b/webcomic.php @@ -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;