@@ -142,7 +142,7 @@ |
||
142 | 142 | } elseif (is_float($value)) { |
143 | 143 | // Convert to non-locale aware float to prevent possible commas |
144 | 144 | return sprintf('%F', $value); |
145 | - } elseif (is_array($value)) { |
|
145 | + } elseif (is_array($value)) { |
|
146 | 146 | // Supports MVA attributes |
147 | 147 | return '('.implode(',', $this->quoteArr($value)).')'; |
148 | 148 | } |
@@ -38,8 +38,7 @@ |
||
38 | 38 | |
39 | 39 | try{ |
40 | 40 | $stm->execute(); |
41 | - } |
|
42 | - catch(\PDOException $exception){ |
|
41 | + } catch(\PDOException $exception){ |
|
43 | 42 | throw new DatabaseException($exception->getMessage() . ' [' . $query . ']'); |
44 | 43 | } |
45 | 44 |