diff options
Diffstat (limited to 'phpBB/includes/db/mssql-odbc.php')
-rw-r--r-- | phpBB/includes/db/mssql-odbc.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/includes/db/mssql-odbc.php b/phpBB/includes/db/mssql-odbc.php index f48e4b6428..847ae1d7a5 100644 --- a/phpBB/includes/db/mssql-odbc.php +++ b/phpBB/includes/db/mssql-odbc.php @@ -36,11 +36,10 @@ class sql_db { $this->persistency = $persistency; $this->user = $sqluser; - $this->password = $sqlpassword; $this->server = $sqlserver . (($port) ? ':' . $port : ''); $this->dbname = $database; - $this->db_connect_id = ($this->persistency) ? @odbc_pconnect($this->server, $this->user, $this->password) : @odbc_connect($this->server, $this->user, $this->password); + $this->db_connect_id = ($this->persistency) ? @odbc_pconnect($this->server, $this->user, $sqlpassword) : @odbc_connect($this->server, $this->user, $sqlpassword); return ($this->db_connect_id) ? $this->db_connect_id : $this->sql_error(''); } |