@@ -238,8 +238,7 @@ discard block |
||
238 | 238 | $this->data['album_user_id'] = 1; |
239 | 239 | $this->data['image_filemissing'] = 0; |
240 | 240 | $this->data['album_watermark'] = 0; |
241 | - } |
|
242 | - else |
|
241 | + } else |
|
243 | 242 | { |
244 | 243 | $sql = 'SELECT * |
245 | 244 | FROM ' . $this->table_images . ' i |
@@ -409,8 +408,7 @@ discard block |
||
409 | 408 | { |
410 | 409 | $response->headers->set('expires', '-1'); |
411 | 410 | } |
412 | - } |
|
413 | - else |
|
411 | + } else |
|
414 | 412 | { |
415 | 413 | $response->headers->set('Content-Disposition', 'inline; ' . $this->tool->header_filename(htmlspecialchars_decode($this->tool->image_name) . '.' . $this->tool->image_type)); |
416 | 414 | if ($this->tool->is_ie_greater7($this->user->browser)) |