summaryrefslogtreecommitdiff
path: root/app/Functions
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2016-01-03 15:31:51 +0000
committerGreg Roach <fisharebest@gmail.com>2016-01-03 15:31:51 +0000
commit1cd7781ebfeba5a28aa1f6260324372f02be481d (patch)
tree03b60758e4efa5a947d8166b4b141d3e7e73dfea /app/Functions
parente00dafa52740cb2fd719985ab06d500749981b43 (diff)
downloadwebtrees-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.php2
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?