diff --git a/user.inc.php b/user.inc.php index bba9bc7..b6d4dcd 100644 --- a/user.inc.php +++ b/user.inc.php @@ -721,8 +721,8 @@ function user_create($type, $username, $u = NULL) { global $config; if(!is_array($u)) { - mysql_query("INSERT INTO users (`types`,`username`,`passwordset`,`created`,`year`) - VALUES ('$type','$username','0000-00-00', NOW(), '{$config['FAIRYEAR']}')"); + mysql_query("INSERT INTO users (`types`,`username`,`passwordset`,`created`,`year`, `deleted`) + VALUES ('$type','$username','0000-00-00', NOW(), '{$config['FAIRYEAR']}', 'no')"); echo mysql_error(); $uid = mysql_insert_id(); if(user_valid_email($username)) {