@@ -256,7 +256,7 @@ |
||
256 | 256 | |
257 | 257 | // Create a source, to indicate the source of the data. |
258 | 258 | $filetext .= "0 @WEBTREES@ SOUR\n1 TITL " . WT_BASE_URL . "\n"; |
259 | - $author = $this->user_service->find((int) $tree->getPreference('CONTACT_USER_ID')); |
|
259 | + $author = $this->user_service->find((int) $tree->getPreference('CONTACT_USER_ID')); |
|
260 | 260 | if ($author !== null) { |
261 | 261 | $filetext .= '1 AUTH ' . $author->realName() . "\n"; |
262 | 262 | } |
@@ -134,10 +134,10 @@ discard block |
||
134 | 134 | switch ($show_marnm) { |
135 | 135 | case 'no': |
136 | 136 | case 'yes': |
137 | - $user->setPreference($families?'family-list-marnm':'individual-list-marnm', $show_marnm); |
|
137 | + $user->setPreference($families ? 'family-list-marnm' : 'individual-list-marnm', $show_marnm); |
|
138 | 138 | break; |
139 | 139 | default: |
140 | - $show_marnm = $user->getPreference($families?'family-list-marnm':'individual-list-marnm'); |
|
140 | + $show_marnm = $user->getPreference($families ? 'family-list-marnm' : 'individual-list-marnm'); |
|
141 | 141 | } |
142 | 142 | |
143 | 143 | // Make sure selections are consistent. |
@@ -169,7 +169,7 @@ discard block |
||
169 | 169 | 'ged' => $tree->name(), |
170 | 170 | 'show_all' => 'yes', |
171 | 171 | ]; |
172 | - $show = $request->getQueryParams()['show'] ?? 'surn'; |
|
172 | + $show = $request->getQueryParams()['show'] ?? 'surn'; |
|
173 | 173 | } |
174 | 174 | } elseif ($surname) { |
175 | 175 | $alpha = $this->localization_service->initialLetter($surname); // so we can highlight the initial letter |