Passed
Pull Request — 1.7 (#4191)
by
unknown
05:59
created
app/Controller/IndividualController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -196,7 +196,7 @@
 block discarded – undo
196 196
                             // Where it is not a substring of the real surname, show it after the real surname.
197 197
                             $surname = Filter::escapeHtml($primary_name['surname']);
198 198
                             if (strpos($primary_name['surname'], str_replace(',', ' ', $nmatch[$i][2])) !== false) {
199
-                                echo '<span dir="auto"><a href="/branches.php?surname='.str_replace(' ','+',$surname).'">'.$surname.'</a></span>';
199
+                                echo '<span dir="auto"><a href="/branches.php?surname=' . str_replace(' ', '+', $surname) . '">' . $surname . '</a></span>';
200 200
                             } else {
201 201
                                 echo I18N::translate('%1$s (%2$s)', '<span dir="auto">' . $surname . '</span>', '<span dir="auto">' . $name . '</span>');
202 202
                             }
Please login to merge, or discard this patch.