modified the empty string condition in Validator.php in order to fix the...

Sorry for so late to commit this. Just have some problem on my git.