private function remove_vote() { if (isset($_POST['down_vote'])) { $adv_id = isset($_POST['adventure']) ? $_POST['adventure'] : ''; Model_user::remove_vote($adv_id); $this->display_adventure($adv_id); } }