fixing undefined index notice

minor fix to remove undefined index notices from WP_DEBUG
Merge pull request #4 from Protohominid/master

fixing undefined index notice