@@ -271,8 +271,7 @@ |
||
271 | 271 | if(is_numeric($key)) |
272 | 272 | { |
273 | 273 | $rewritten["filter_bind_" . ($key + 1)] = $value; |
274 | - } |
|
275 | - else |
|
274 | + } else |
|
276 | 275 | { |
277 | 276 | $rewritten[$key] = $value; |
278 | 277 | } |
@@ -92,10 +92,10 @@ |
||
92 | 92 | if ($numValues === 1) { |
93 | 93 | $key = "filter_{$startIndex}"; |
94 | 94 | if($values[0] === null) { |
95 | - $this->whereClause .= "{$field} is NULL"; |
|
95 | + $this->whereClause .= "{$field} is NULL"; |
|
96 | 96 | } else { |
97 | - $this->whereClause .= "{$field} = :$key"; |
|
98 | - $this->boundData[$key] = reset($values); |
|
97 | + $this->whereClause .= "{$field} = :$key"; |
|
98 | + $this->boundData[$key] = reset($values); |
|
99 | 99 | } |
100 | 100 | } else { |
101 | 101 | $this->whereClause .= "{$field} IN ("; |