|
@@ -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.