@@ -39,11 +39,11 @@ |
||
39 | 39 | { |
40 | 40 | if(isset($this->params['user'])) |
41 | 41 | { |
42 | - $this->pdo = new \PDO($this->params['dsn'], $this->params['user'], $this->params['pass']); |
|
43 | - } |
|
44 | - else |
|
45 | - { |
|
46 | - $this->pdo = new \PDO($this->params['dsn']); |
|
42 | + $this->pdo = new \PDO($this->params['dsn'], $this->params['user'], $this->params['pass']); |
|
43 | + } |
|
44 | + else |
|
45 | + { |
|
46 | + $this->pdo = new \PDO($this->params['dsn']); |
|
47 | 47 | } |
48 | 48 | } |
49 | 49 |