If you move this before `if (!$post_data['topic_posts_approved'])` (will not hurt)
You can remove the additional variable `$send_topic_notification` and use `else` instead ;)