summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-08-07 11:54:37 +0200
committerAleksander Machniak <alec@alec.pl>2012-08-07 11:54:37 +0200
commitee2187e1b151c27fbf2b6854634fc4fd90f0ebd1 (patch)
treefd7f5c2c52288e6c31295fc17f2353d45eea0c79 /program
parent887838da08c56265145400a4513a51c7cc79ec5b (diff)
Fix errors after removing users.alias column (#1488581)
Diffstat (limited to 'program')
-rw-r--r--program/include/rcube_user.php5
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')) {