@@ -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 | }  | 
                                                        
@@ -196,7 +196,7 @@  | 
                                                    ||
| 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 | }  | 
                                                        
@@ -1156,7 +1156,7 @@  | 
                                                    ||
| 1156 | 1156 | |
| 1157 | 1157 | $sublevel = 1;  | 
                                                        
| 1158 | 1158 |          if (is_array($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] : ''; |