diff --git a/phpgwapi/inc/class.accounts_sql.inc.php b/phpgwapi/inc/class.accounts_sql.inc.php index bcd664a1fb..c80d2934bf 100644 --- a/phpgwapi/inc/class.accounts_sql.inc.php +++ b/phpgwapi/inc/class.accounts_sql.inc.php @@ -74,6 +74,7 @@ $this->db->query("UPDATE phpgw_accounts SET account_firstname='" . $this->data['firstname'] . "', account_lastname='" . $this->data['lastname'] . "', account_status='" . $this->data['status'] . "', account_expires='" . $this->data['expires'] + . ($this->data['account_lid']?"', account_lid='".$this->data['account_lid']:'') . "' WHERE account_id='" . $this->account_id . "'",__LINE__,__FILE__); }