Fixed problem with null value in validate method
Merge pull request #55 from lordjim666/dev

Fixed problem with null value in validate method.