Fixed get errors

Set variable for $_GET value that may or may not exist. Fixed by adding
isset() check first.