Completed
Push — 1.9 ( 429e1f )
by Robbie
04:54
created
tests/AtomFeedTest.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
 	public function setUp() {
49 49
 		parent::setUp();
50 50
 		Config::inst()->update('Director', 'alternate_base_url', '/');
51
-		if(!self::$original_host) self::$original_host = $_SERVER['HTTP_HOST'];
51
+		if (!self::$original_host) self::$original_host = $_SERVER['HTTP_HOST'];
52 52
 		$_SERVER['HTTP_HOST'] = 'www.example.org';
53 53
 	}
54 54
 
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,9 @@
 block discarded – undo
48 48
 	public function setUp() {
49 49
 		parent::setUp();
50 50
 		Config::inst()->update('Director', 'alternate_base_url', '/');
51
-		if(!self::$original_host) self::$original_host = $_SERVER['HTTP_HOST'];
51
+		if(!self::$original_host) {
52
+			self::$original_host = $_SERVER['HTTP_HOST'];
53
+		}
52 54
 		$_SERVER['HTTP_HOST'] = 'www.example.org';
53 55
 	}
54 56
 
Please login to merge, or discard this patch.