@@ -85,8 +85,7 @@ |
||
85 | 85 | $connection = null; |
86 | 86 | if (extension_loaded("pdo_sqlite")) { |
87 | 87 | $connection = new Db\Pdo\Connection($this, $this->util, $this->trans, 'PDO_SQLite'); |
88 | - } |
|
89 | - else { |
|
88 | + } else { |
|
90 | 89 | throw new AuthException($this->trans->lang('No package installed to open a Sqlite database.')); |
91 | 90 | } |
92 | 91 |
@@ -56,8 +56,7 @@ |
||
56 | 56 | public function quote(string $string) |
57 | 57 | { |
58 | 58 | return ($this->util->isUtf8($string) ? |
59 | - "'" . $this->client->escapeString($string) . "'" : |
|
60 | - "x'" . reset(unpack('H*', $string)) . "'"); |
|
59 | + "'" . $this->client->escapeString($string) . "'" : "x'" . reset(unpack('H*', $string)) . "'"); |
|
61 | 60 | } |
62 | 61 | |
63 | 62 | public function multiQuery(string $query) |