Passed
Pull Request — master (#271)
by
unknown
09:07
created
core/controller/file.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -232,8 +232,7 @@  discard block
 block discarded – undo
232 232
 			$this->data['album_user_id'] = 1;
233 233
 			$this->data['image_filemissing'] = 0;
234 234
 			$this->data['album_watermark'] = 0;
235
-		}
236
-		else
235
+		} else
237 236
 		{
238 237
 			$sql = 'SELECT *
239 238
 				FROM ' . $this->table_images . ' i
@@ -394,8 +393,7 @@  discard block
 block discarded – undo
394 393
 			{
395 394
 				$response->headers->set('expires', '-1');
396 395
 			}
397
-		}
398
-		else
396
+		} else
399 397
 		{
400 398
 			$response->headers->set('Content-Disposition', 'inline; ' . $this->tool->header_filename(htmlspecialchars_decode($this->tool->image_name)) . '.' . ($this->tool->image_type == 'jpeg' ? 'jpg' : $this->tool->image_type));
401 399
 			if ($this->tool->is_ie_greater7($this->user->browser))
Please login to merge, or discard this patch.