Commit 93e85a82 authored by gnoMii's avatar gnoMii Committed by Benjamin Eberlei

Put the && for the same convention

parent c5f3b77c
......@@ -37,7 +37,7 @@ class Driver implements \Doctrine\DBAL\Driver
if (isset($params['host']) && $params['host'] != '') {
$dsn .= 'host=' . $params['host'] . ' ';
}
if (isset($params['port']) AND $params['port'] != '') {
if (isset($params['port']) && $params['port'] != '') {
$dsn .= 'port=' . $params['port'] . ' ';
}
if (isset($params['dbname'])) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment