Changeset 1083 in ExiteCMS for trunk/register.php


Ignore:
Timestamp:
11/07/07 18:29:04 (5 years ago)
Author:
root
Message:

Fixed a typo in rev01082.php
Replaced date selection HTML by smarty html_select_date function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/register.php

    r1071 r1083  
    144144        if ($settings['email_verification'] == "0") { 
    145145            $user_location = isset($_POST['user_location']) ? stripinput(trim($_POST['user_location'])) : ""; 
    146             if ($_POST['user_month'] != 0 && $_POST['user_day'] != 0 && $_POST['user_year'] != 0) { 
    147                 $user_birthdate = (isNum($_POST['user_year']) ? $_POST['user_year'] : "0000") 
    148                 ."-".(isNum($_POST['user_month']) ? $_POST['user_month'] : "00") 
    149                 ."-".(isNum($_POST['user_day']) ? $_POST['user_day'] : "00"); 
     146            if ($_POST['user_Month'] != 0 && $_POST['user_Day'] != 0 && $_POST['user_Year'] != 0) { 
     147                $user_birthdate = (isNum($_POST['user_Year']) ? $_POST['user_Year'] : "0000") 
     148                ."-".(isNum($_POST['user_Month']) ? $_POST['user_Month'] : "00") 
     149                ."-".(isNum($_POST['user_Day']) ? $_POST['user_Day'] : "00"); 
    150150            } else { 
    151151                $user_birthdate = "0000-00-00"; 
Note: See TracChangeset for help on using the changeset viewer.