FIX Empty Datefield with defined min or max has non-object error thrown

When submitting a Datefield with no value but with a min / max config date, the validate() function attempts to access a function on $this->valueObj (which is a non-object)
Merge pull request #2152 from dhensby/patch-1

FIX Empty Datefield with defined min or max has non-object error thrown