Corrects PHP Warnings
Merge pull request #30 from cividesk/master

Corrects PHP Warnings