Skip to content

Commit 32da88b

Browse files
committed
fix: correct wishlist retrieval parameters for accurate data display
1 parent 6f712b3 commit 32da88b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/dashboard/wishlist.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
$current_page = max( 1, Input::get( 'current_page', 1, Input::TYPE_INT ) );
1919
$offset = ( $current_page - 1 ) * $wishlist_per_page;
2020

21-
$wishlists = tutor_utils()->get_wishlist( $offset, $wishlist_per_page );
21+
$wishlists = tutor_utils()->get_wishlist( null, $offset, $wishlist_per_page );
2222
$total_wishlists_count = count( tutor_utils()->get_wishlist() );
2323

2424
$course_id = $post->ID;

0 commit comments

Comments
 (0)