@@ -13,7 +13,8 @@ |
||
| 13 | 13 | use Fisharebest\Webtrees\Module\ModuleCustomTrait; |
| 14 | 14 | use Fisharebest\Webtrees\View; |
| 15 | 15 | |
| 16 | -return new class extends MinimalTheme implements ModuleCustomInterface { |
|
| 16 | +return new class extends MinimalTheme implements ModuleCustomInterface |
|
| 17 | +{ |
|
| 17 | 18 | use ModuleCustomTrait; |
| 18 | 19 | |
| 19 | 20 | /** |
@@ -191,7 +191,7 @@ |
||
| 191 | 191 | unset($params['route']); |
| 192 | 192 | $this->glideSignature()->validateRequest('', $params); |
| 193 | 193 | |
| 194 | - $path = $media_file->media()->tree()->getPreference('MEDIA_DIRECTORY', 'media/') . $media_file->filename(); |
|
| 194 | + $path = $media_file->media()->tree()->getPreference('MEDIA_DIRECTORY', 'media/') . $media_file->filename(); |
|
| 195 | 195 | $folder = dirname($path); |
| 196 | 196 | |
| 197 | 197 | $cache_path = 'thumbnail-cache/' . md5($folder); |
@@ -400,7 +400,7 @@ |
||
| 400 | 400 | $NAME = $request->getParsedBody()['NAME'] ?? ''; |
| 401 | 401 | |
| 402 | 402 | if ($NAME !== '') { |
| 403 | - $newged .= "\n1 NAME " . $NAME; |
|
| 403 | + $newged .= "\n1 NAME " . $NAME; |
|
| 404 | 404 | $name_facts = [ |
| 405 | 405 | 'TYPE', |
| 406 | 406 | 'NPFX', |