Update view.php

This may be has been forgotten. But $poll_id is not defined unless.