Removed two PHP notice warnings

This changes removes two php notices.

You do not see them unless you manually change error_reporting to something like -1 (like I do when debugging a hard to catch bug)
There you go: 91eb2bd