Passed
Pull Request — release-2.1 (#7446)
by Jon
05:29
created
Sources/ShowAttachments.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -181,8 +181,7 @@
 block discarded – undo
181 181
 		)
182 182
 		// We are not previewing an attachment.
183 183
 		&& !isset($_SESSION['attachments_can_preview'][$attachId])
184
-	)
185
-	{
184
+	) {
186 185
 		send_http_status(404, 'File Not Found');
187 186
 		die('404 File Not Found');
188 187
 	}
Please login to merge, or discard this patch.
Sources/Help.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,8 @@
 block discarded – undo
117 117
 	else
118 118
 		fatal_lang_error('no_access', false);
119 119
 
120
-	switch ($_GET['help']) {
120
+	switch ($_GET['help'])
121
+	{
121 122
 		case 'cal_short_months':
122 123
 			$context['help_text'] = sprintf($context['help_text'], $txt['months_short'][1], $txt['months_titles'][1]);
123 124
 			break;
Please login to merge, or discard this patch.