Permalink
Browse files

Merge branch 'MDL-59509-32' of git://github.com/andrewnicols/moodle i…

…nto MOODLE_32_STABLE
  • Loading branch information...
dmonllao committed Jul 24, 2017
2 parents 894c661 + 62d4895 commit 6832876b6336fa1798ee151f020bbc24411ef6a3
Showing with 7 additions and 1 deletion.
  1. +7 −1 lib/dml/sqlsrv_native_moodle_database.php
@@ -186,7 +186,13 @@ public function connect($dbhost, $dbuser, $dbpass, $dbname, $prefix, array $dbop
sqlsrv_configure("LogSeverity", SQLSRV_LOG_SEVERITY_ERROR);
$this->store_settings($dbhost, $dbuser, $dbpass, $dbname, $prefix, $dboptions);
$this->sqlsrv = sqlsrv_connect($this->dbhost, array
$dbhost = $this->dbhost;
if (!empty($dboptions['dbport'])) {
$dbhost .= ',' . $dboptions['dbport'];
}
$this->sqlsrv = sqlsrv_connect($dbhost, array
(
'UID' => $this->dbuser,
'PWD' => $this->dbpass,

0 comments on commit 6832876

Please sign in to comment.