Fixed a PHP error. Isset is your friend.