|
@@ -46,7 +46,7 @@ |
|
|
block discarded – undo |
|
46
|
46
|
if (strpos($credentials['server'], ':') !== false) { |
|
47
|
47
|
list($host, $port) = explode(':', $credentials['server'], 2); |
|
48
|
48
|
} |
|
49
|
|
- $dsn = 'mysql:;host=' . $host . ';port=' . $port . ';charset=utf8'; |
|
|
49
|
+ $dsn = 'mysql:;host='.$host.';port='.$port.';charset=utf8'; |
|
50
|
50
|
try { |
|
51
|
51
|
$this->connection = new PDO($dsn, $credentials['user'], $credentials['password']); |
|
52
|
52
|
$this->connection->query("SET SESSION sql_mode = ''"); |
Please login to merge, or discard this patch.