diff --git a/admin/class-yoast-notification-center.php b/admin/class-yoast-notification-center.php index ce5529d58ee..dfb97e80e19 100644 --- a/admin/class-yoast-notification-center.php +++ b/admin/class-yoast-notification-center.php @@ -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;