diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2019-01-04 10:15:27 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2019-01-04 10:15:27 +0000 |
| commit | 06cff3ff5e2a312b12d71bc5115cd6440631ae59 (patch) | |
| tree | bfae5b2ef5d1e80eac68dc4d3549b6511608be4a /app | |
| parent | 639e298445d070d21e90ff0eabcdff0c2184aa02 (diff) | |
| download | webtrees-06cff3ff5e2a312b12d71bc5115cd6440631ae59.tar.gz webtrees-06cff3ff5e2a312b12d71bc5115cd6440631ae59.tar.bz2 webtrees-06cff3ff5e2a312b12d71bc5115cd6440631ae59.zip | |
Fix: #2092 - undefined attribute when downloading GEDCOM file
Diffstat (limited to 'app')
| -rw-r--r-- | app/Functions/FunctionsExport.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Functions/FunctionsExport.php b/app/Functions/FunctionsExport.php index 43fe2ad698..00dbffdd07 100644 --- a/app/Functions/FunctionsExport.php +++ b/app/Functions/FunctionsExport.php @@ -225,7 +225,7 @@ class FunctionsExport ->where('o_file', '=', $tree->id()) ->whereNotIn('o_type', ['HEAD', 'TRLR']) ->orderBy('o_id') - ->select(['o_id AS xref', 'o_gedcom AS gedcom']) + ->select(['o_id AS xref', 'o_gedcom AS gedcom', 'o_type AS type']) ->get(); foreach ($rows as $row) { |
