Passed
Push — master ( 2073b4...fffc45 )
by Struan
06:46
created
www/includes/easyparliament/templates/html/section/_section_content.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@  discard block
 block discarded – undo
12 12
         if ($hansardmajors[$data['info']['major']]['location'] == 'Scotland') {
13 13
             $body = preg_replace('# (S\d[O0WF]-\d+)[, ]#', ' <a href="/spwrans/?spid=$1">$1</a> ', $body);
14 14
             $body = preg_replace_callback('#<citation id="uk\.org\.publicwhip/(.*?)/(.*?)">\[(.*?)\]</citation>#', function($matches) {
15
-                   if ($matches[1] == 'spor') {
16
-                       $href_segment = 'sp/?g';
17
-                   } elseif ($matches[1] == 'spwa') {
15
+                    if ($matches[1] == 'spor') {
16
+                        $href_segment = 'sp/?g';
17
+                    } elseif ($matches[1] == 'spwa') {
18 18
                         $href_segment = 'spwrans/?';
19 19
                     } else {
20 20
                         $href_segment = 'debates/?';
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
                     $after_mp = $speech['after_mp'];
192 192
                 }
193 193
                 include dirname(__FILE__) . '/../divisions/_your_mp.php';
194
-              } ?>
194
+                } ?>
195 195
                 <div class="debate-speech__division__details">
196 196
                   <?php include dirname(__FILE__) . '/../divisions/_votes.php'; ?>
197 197
                 </div>
Please login to merge, or discard this patch.