Completed
Push — master ( 2d287d...2b3013 )
by Nicolaas
02:55
created
code/control/CountryPrice_ChangeCountryController.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
 
86 86
         //redirect now
87 87
         if (isset($_GET['force']) && $_GET['force']) {
88
-            return $this->redirect($this->Link($newCountryCode) . '?force-back-home');
88
+            return $this->redirect($this->Link($newCountryCode).'?force-back-home');
89 89
         }
90 90
         if (isset($_GET['force-back-home']) && $_GET['force-back-home']) {
91 91
             return $this->redirect(Director::baseURL('/'));
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
             $action
107 107
         );
108 108
 
109
-        return $link . '/';
109
+        return $link.'/';
110 110
     }
111 111
 
112 112
     /**
@@ -160,10 +160,10 @@  discard block
 block discarded – undo
160 160
 
161 161
             $path = isset($parsedUrl['path']) ? $parsedUrl['path'] : '';
162 162
 
163
-            $query = empty($query) ? '' :  '?'. http_build_query($query);
163
+            $query = empty($query) ? '' : '?'.http_build_query($query);
164 164
             $newURL =
165
-                $parsedUrl['scheme'] .
166
-                '://' .
165
+                $parsedUrl['scheme'].
166
+                '://'.
167 167
                 Controller::join_links(
168 168
                     $parsedUrl['host'],
169 169
                     $parsedUrl['path']
Please login to merge, or discard this patch.