jay Explorer if (empty($errors)) { log_activity($userId, 'forum_topic_created', 'topic', $topicId); redirect('/topic.php/' . $topicId); }