Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

1739
 
1840
 
1840
 
account_edit.php
_> 11 <?php
  22 /*
<> 3 -  $Id: account_edit.php 1739 2007-12-20 00:52:16Z hpdl $
   3+  $Id: account_edit.php 1840 2008-12-12 12:32:40Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
  77 
<> 8 -  Copyright (c) 2003 osCommerce
   8+  Copyright (c) 2008 osCommerce
99 
  1010   Released under the GNU General Public License
  1111 */
     
 !
5252     }
  5353 
  5454     if (ACCOUNT_DOB == 'true') {
<> 55 -      if (!checkdate(substr(tep_date_raw($dob), 4, 2), substr(tep_date_raw($dob), 6, 2), substr(tep_date_raw($dob), 0, 4))) {
   55+      if ((is_numeric(tep_date_raw($dob)) == false) || (@checkdate(substr(tep_date_raw($dob), 4, 2), substr(tep_date_raw($dob), 6, 2), substr(tep_date_raw($dob), 0, 4)) == false)) {
<_ 5656         $error = true;
  5757 
  5858         $messageStack->add('account_edit', ENTRY_DATE_OF_BIRTH_ERROR);