Add checks to prevent php warnings.
Add checks to prevent php warnings.

BlackstarGroup/pfsense,BlackstarGroup/pfsense,ch1c4um/pfsense,jxmx/pfsense,pfsense/pfsense,phil-davis/pfsense,ptorsten/pfsense,brunostein/pfsense,NewEraCracker/pfsense,dennypage/pfsense,pfsense/pfsense,ch1c4um/pfsense,jxmx/pfsense,jxmx/pfsense,NOYB/pfsense,phil-davis/pfsense,brunostein/pfsense,pfsense/pfsense,ch1c4um/pfsense,ch1c4um/pfsense,NewEraCracker/pfsense,BlackstarGroup/pfsense,pfsense/pfsense,NewEraCracker/pfsense,brunostein/pfsense,NOYB/pfsense,phil-davis/pfsense,ptorsten/pfsense,NewEraCracker/pfsense,BlackstarGroup/pfsense,phil-davis/pfsense,NOYB/pfsense,dennypage/pfsense,dennypage/pfsense,ptorsten/pfsense,dennypage/pfsense