Completed
Push — 2.0.0 ( ebf425...d56a3c )
by John
04:14
created
public/index.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,8 +42,9 @@
 block discarded – undo
42 42
 	$response = new Response(403, View::renderErrorPage(403, $rnae->getMessage(), array('Content-Type' => 'text/html')));
43 43
 }
44 44
 
45
-if ($config->get('security.http.header.x.frame.options') != '')
46
-	$response->getHeader('X-Frame-Options', $config->get('security.http.header.x.frame.options'));
45
+if ($config->get('security.http.header.x.frame.options') != '') {
46
+	$response->getHeader('X-Frame-Options', $config->get('security.http.header.x.frame.options'));
47
+}
47 48
 
48 49
 echo $response->send();
49 50
 
Please login to merge, or discard this patch.