Prevent PHP errors when nothing is defined