diff options
author | Aleksander Machniak <alec@alec.pl> | 2012-08-07 11:54:37 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2012-08-07 11:54:37 +0200 |
commit | ee2187e1b151c27fbf2b6854634fc4fd90f0ebd1 (patch) | |
tree | fd7f5c2c52288e6c31295fc17f2353d45eea0c79 /program | |
parent | 887838da08c56265145400a4513a51c7cc79ec5b (diff) |
Fix errors after removing users.alias column (#1488581)
Diffstat (limited to 'program')
-rw-r--r-- | program/include/rcube_user.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/program/include/rcube_user.php b/program/include/rcube_user.php index d5421526b..a54cbd79c 100644 --- a/program/include/rcube_user.php +++ b/program/include/rcube_user.php @@ -456,11 +456,10 @@ class rcube_user $dbh->query( "INSERT INTO ".$dbh->table_name('users'). - " (created, last_login, username, mail_host, alias, language)". - " VALUES (".$dbh->now().", ".$dbh->now().", ?, ?, ?, ?)", + " (created, last_login, username, mail_host, language)". + " VALUES (".$dbh->now().", ".$dbh->now().", ?, ?, ?)", strip_newlines($user), strip_newlines($host), - strip_newlines($data['alias'] ? $data['alias'] : $user_email), strip_newlines($data['language'] ? $data['language'] : $_SESSION['language'])); if ($user_id = $dbh->insert_id('users')) { |