@@ -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 | } |
@@ -49,8 +49,7 @@ discard block |
||
| 49 | 49 | |
| 50 | 50 | try{ |
| 51 | 51 | $stm->execute(); |
| 52 | - } |
|
| 53 | - catch(\PDOException $exception){ |
|
| 52 | + } catch(\PDOException $exception){ |
|
| 54 | 53 | throw new DatabaseException($exception->getMessage() . ' [' . $query . ']'); |
| 55 | 54 | } |
| 56 | 55 | |
@@ -140,8 +139,7 @@ discard block |
||
| 140 | 139 | } |
| 141 | 140 | |
| 142 | 141 | return new MultiResultSet($statement); |
| 143 | - } |
|
| 144 | - else |
|
| 142 | + } else |
|
| 145 | 143 | { |
| 146 | 144 | foreach($queue as $sql) |
| 147 | 145 | { |