@@ -15,7 +15,7 @@ discard block |
||
| 15 | 15 | $body = preg_replace('# (S\d[O0WF]-\d+)[, ]#', ' <a href="/spwrans/?spid=$1">$1</a> ', $body); |
| 16 | 16 | $body = preg_replace_callback( |
| 17 | 17 | '#<citation id="uk\.org\.publicwhip/(.*?)/(.*?)">\[(.*?)\]</citation>#', |
| 18 | - function ($matches) { |
|
| 18 | + function($matches) { |
|
| 19 | 19 | if ($matches[1] == 'spor') { |
| 20 | 20 | $href_segment = 'sp/?g'; |
| 21 | 21 | } elseif ($matches[1] == 'spwa') { |
@@ -193,7 +193,7 @@ discard block |
||
| 193 | 193 | <?php } ?> |
| 194 | 194 | |
| 195 | 195 | <?php if (isset($speech['mp_vote'])) { |
| 196 | - $mp_vote = [ 'vote' => $speech['mp_vote']['vote'] ]; |
|
| 196 | + $mp_vote = ['vote' => $speech['mp_vote']['vote']]; |
|
| 197 | 197 | if (isset($speech['before_mp'])) { |
| 198 | 198 | $before_mp = $speech['before_mp']; |
| 199 | 199 | } |