if (!$student['exists']) {\r
$student = sql_quote($student);\r
$now = date('Y-m-d H:i:s'); // we use this later for the email confirmation.\r
-\r
\r
- $sql = "INSERT INTO ".TABLE_PREFIX."members VALUES (NULL,'$student[uname]','$student[uname]','$student[email]','','$student[fname]','', '$student[lname]', '', '', '','','','','', '', $status, '$_config[pref_defaults]', '$now','$_config[default_language]', $_config[pref_inbox_notify], 1)";\r
+ $sql = "INSERT INTO ".TABLE_PREFIX."members VALUES (NULL,'$student[uname]','$student[uname]','$student[email]','','$student[fname]','', '$student[lname]', '0000-00-00', 'n', '','','','','', '', $status, '$_config[pref_defaults]', '$now','$_config[default_language]', $_config[pref_inbox_notify], 1)";\r
\r
$result = mysql_query($sql, $db);\r
if (mysql_affected_rows($db) == 1) {\r