@@ -173,7 +173,7 @@ |
||
| 173 | 173 | /** @var Tree $tree */ |
| 174 | 174 | $tree = $request->attributes->get('tree'); |
| 175 | 175 | |
| 176 | - $q = $request->get('q'); |
|
| 176 | + $q = $request->get('q'); |
|
| 177 | 177 | $instance = $request->get('instance'); |
| 178 | 178 | $treeview = new TreeView($instance); |
| 179 | 179 | |
@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | 'level' => 2, |
| 95 | 95 | 'full_citations' => $tree->getPreference('FULL_SOURCES'), |
| 96 | 96 | 'tree' => $tree, |
| 97 | - ]); } |
|
| 97 | + ]); } |
|
| 98 | 98 | if ($level1type !== 'OBJE') { |
| 99 | 99 | if ($tree->getPreference('MEDIA_UPLOAD') >= Auth::accessLevel($tree)) { |
| 100 | 100 | echo view('cards/add-media-object', [ |
@@ -415,7 +415,7 @@ discard block |
||
| 415 | 415 | ////////////////////////////////////////////////////////////////////////////// |
| 416 | 416 | // Add a child to an existing individual (creating a one-parent family) |
| 417 | 417 | ////////////////////////////////////////////////////////////////////////////// |
| 418 | - $tree = $controller->tree(); |
|
| 418 | + $tree = $controller->tree(); |
|
| 419 | 419 | $xref = Filter::post('xref', WT_REGEX_XREF); |
| 420 | 420 | $PEDI = Filter::post('PEDI'); |
| 421 | 421 | $glevels = Filter::postArray('glevels', '[0-9]'); |
@@ -322,8 +322,8 @@ |
||
| 322 | 322 | $default_locale = new LocaleEnUs; |
| 323 | 323 | try { |
| 324 | 324 | // @TODO, when no language is requested by the user (e.g. search engines), we should use |
| 325 | - // the tree's default language. However, we currently initialise languages before trees, |
|
| 326 | - // so there is no tree available for us to use. |
|
| 325 | + // the tree's default language. However, we currently initialise languages before trees, |
|
| 326 | + // so there is no tree available for us to use. |
|
| 327 | 327 | } catch (\Exception $ex) { |
| 328 | 328 | DebugBar::addThrowable($ex); |
| 329 | 329 | } |