Skip to content

Commit

Permalink
Fix bug preventing notifications to be fetched
Browse files Browse the repository at this point in the history
  • Loading branch information
pls78 committed Oct 27, 2023
1 parent c73a8b3 commit af9d09e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin/class-yoast-notification-center.php
Original file line number Diff line number Diff line change
Expand Up @@ -915,10 +915,10 @@ private function maybe_unset_notification_user_field( $user_id, $notifications )
unset( $serialized_notification['options']['user'] );
$serialized_notification['options']['user_id'] = $user_id;

$processed_notifications[] = $this->array_to_notification( $serialized_notification );


$this->notifications_need_storage = true;
}
$processed_notifications[] = $this->array_to_notification( $serialized_notification );
}

return $processed_notifications;
Expand Down

0 comments on commit af9d09e

Please sign in to comment.