Fixed PHP notice
Merge pull request #47 from Bladrak/noticeFix

Fixed PHP notice