@@ -263,7 +263,7 @@ |
||
| 263 | 263 | ); |
| 264 | 264 | |
| 265 | 265 | if (is_array($tmp)) { |
| 266 | - return $tmp[$variable] ?: array(); |
|
| 266 | + return $tmp[$variable] ?: array(); |
|
| 267 | 267 | } |
| 268 | 268 | } |
| 269 | 269 | } |
@@ -197,7 +197,7 @@ |
||
| 197 | 197 | $surname = Filter::escapeHtml($primary_name['surname']); |
| 198 | 198 | if (strpos($primary_name['surname'], str_replace(',', ' ', $nmatch[$i][2])) !== false) { |
| 199 | 199 | //echo '<span dir="auto">' . $surname . '</span>'; |
| 200 | - echo '<span dir="auto"><a href="/branches.php?surname='.str_replace(' ','+',$surname).'">'.$surname.'</a></span>'; |
|
| 200 | + echo '<span dir="auto"><a href="/branches.php?surname=' . str_replace(' ', '+', $surname) . '">' . $surname . '</a></span>'; |
|
| 201 | 201 | } else { |
| 202 | 202 | echo I18N::translate('%1$s (%2$s)', '<span dir="auto">' . $surname . '</span>', '<span dir="auto">' . $name . '</span>'); |
| 203 | 203 | } |
@@ -1156,7 +1156,7 @@ |
||
| 1156 | 1156 | |
| 1157 | 1157 | $sublevel = 1; |
| 1158 | 1158 | if ($gedcom) { |
| 1159 | - $sublevel += (int) $gedcom[0]; |
|
| 1159 | + $sublevel += (int) $gedcom[0]; |
|
| 1160 | 1160 | } |
| 1161 | 1161 | $NPFX = preg_match("/\n{$sublevel} NPFX (.+)/", $gedcom, $match) ? $match[1] : ''; |
| 1162 | 1162 | $GIVN = preg_match("/\n{$sublevel} GIVN (.+)/", $gedcom, $match) ? $match[1] : ''; |