diff options
| author | Greg Roach <fisharebest@gmail.com> | 2016-01-03 15:31:51 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2016-01-03 15:31:51 +0000 |
| commit | 1cd7781ebfeba5a28aa1f6260324372f02be481d (patch) | |
| tree | 03b60758e4efa5a947d8166b4b141d3e7e73dfea /app/Functions | |
| parent | e00dafa52740cb2fd719985ab06d500749981b43 (diff) | |
| download | webtrees-1cd7781ebfeba5a28aa1f6260324372f02be481d.tar.gz webtrees-1cd7781ebfeba5a28aa1f6260324372f02be481d.tar.bz2 webtrees-1cd7781ebfeba5a28aa1f6260324372f02be481d.zip | |
Fix #774 - consistent title for auto-generated media objects
Diffstat (limited to 'app/Functions')
| -rw-r--r-- | app/Functions/FunctionsImport.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Functions/FunctionsImport.php b/app/Functions/FunctionsImport.php index 23468e5764..b625a9e6b5 100644 --- a/app/Functions/FunctionsImport.php +++ b/app/Functions/FunctionsImport.php @@ -1018,7 +1018,7 @@ class FunctionsImport { if (preg_match('/\n\d TITL (.+)/', $gedrec, $file_match)) { $titl = $file_match[1]; } else { - $titl = $file; + $titl = ''; } // Have we already created a media object with the same title/filename? |
