Skip to content

Commit

Permalink
Add media View
Browse files Browse the repository at this point in the history
  • Loading branch information
raftaar1191 committed Nov 30, 2023
1 parent c4f5b6b commit 7df6f84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/media/class-view-analytics-rest-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@ public function who_view_media( $request ) {
return rest_ensure_response( $post_data );
}

$user_lists = unserialize( $media_detail['user_list'] );
$users_list = unserialize( $media_detail['users_list'] );

foreach ( $user_lists as $user_id ) {
foreach ( $users_list as $user_id ) {

/**
* Get the visitor
Expand Down

0 comments on commit 7df6f84

Please sign in to comment.