summaryrefslogtreecommitdiff
path: root/app/Http/RequestHandlers/ExportGedcomClient.php
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2022-03-20 17:01:04 +0000
committerGreg Roach <greg@subaqua.co.uk>2022-03-20 17:01:04 +0000
commit64fe0e9c677475d558d52eb39f42079a5fdeef54 (patch)
tree3bc9046292c21389fbfe145441b7f5328d15ad74 /app/Http/RequestHandlers/ExportGedcomClient.php
parentd68e363a0d837274ea1fc4016dafef7401c34dc0 (diff)
downloadwebtrees-64fe0e9c677475d558d52eb39f42079a5fdeef54.tar.gz
webtrees-64fe0e9c677475d558d52eb39f42079a5fdeef54.tar.bz2
webtrees-64fe0e9c677475d558d52eb39f42079a5fdeef54.zip
Fix: cannot export to client when media_path isn't used
Diffstat (limited to 'app/Http/RequestHandlers/ExportGedcomClient.php')
-rw-r--r--app/Http/RequestHandlers/ExportGedcomClient.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Http/RequestHandlers/ExportGedcomClient.php b/app/Http/RequestHandlers/ExportGedcomClient.php
index 1be32fe4b6..e7897dfa93 100644
--- a/app/Http/RequestHandlers/ExportGedcomClient.php
+++ b/app/Http/RequestHandlers/ExportGedcomClient.php
@@ -95,7 +95,7 @@ class ExportGedcomClient implements RequestHandlerInterface
$privacy = Validator::parsedBody($request)->isInArray(['none', 'gedadmin', 'user', 'visitor'])->string('privacy');
$encoding = Validator::parsedBody($request)->isInArray([UTF8::NAME, UTF16BE::NAME, ANSEL::NAME, ASCII::NAME, Windows1252::NAME])->string('encoding');
$line_endings = Validator::parsedBody($request)->isInArray(['CRLF', 'LF'])->string('line_endings');
- $media_path = Validator::parsedBody($request)->string('media_path');
+ $media_path = Validator::parsedBody($request)->string('media_path', '');
$access_levels = [
'gedadmin' => Auth::PRIV_NONE,