Ignore:
Timestamp:
Jul 3, 2007 8:41:36 AM (17 years ago)
Author:
quinn
Message:

Bugfixes found during strangecode site upgrade.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Validator.inc.php

    r247 r266  
    208208        $timestamp = strtotime($val);
    209209        // Return values change between php4 and php5.
    210         if ($timestamp === -1 || $timestamp === false) {
     210        if ('' != trim($val) && ($timestamp === -1 || $timestamp === false)) {
    211211            return false;
    212212        } else {
Note: See TracChangeset for help on using the changeset viewer.