Ignore:
Timestamp:
Feb 19, 2014 2:28:00 AM (10 years ago)
Author:
anonymous
Message:

Merged in changes from trunk to finish Eli's branch.

Location:
branches/eli_branch
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eli_branch

  • branches/eli_branch/lib/FormValidator.inc.php

    r450 r467  
    481481            $app->logMsg(sprintf('The email address %s is not valid.', oTxt($email)), LOG_DEBUG, __FILE__, __LINE__);
    482482            return false;
    483             break;
    484483
    485484        case parent::EMAIL_LENGTH_FAIL :
     
    488487            $app->logMsg(sprintf('The email address %s must contain less than 256 characters.', oTxt($email)), LOG_DEBUG, __FILE__, __LINE__);
    489488            return false;
    490             break;
    491489
    492490        case parent::EMAIL_MX_FAIL :
     
    495493            $app->logMsg(sprintf('The email address %s does not have a valid domain name.', oTxt($email)), LOG_INFO, __FILE__, __LINE__);
    496494            return false;
    497             break;
    498495
    499496        case parent::EMAIL_SUCCESS :
    500497        default :
    501498            return true;
    502             break;
    503499        }
    504500    }
     
    535531        $app =& App::getInstance();
    536532
    537         if (parent::validateStrDate(getFormData($form_name))) {
     533        if (parent::validateStrDate(getFormData($form_name, ''))) {
    538534            return true;
    539535        } else {
Note: See TracChangeset for help on using the changeset viewer.