diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2019-03-14 09:31:12 +0000 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2019-03-14 09:31:50 +0000 |
| commit | 93b73e0f9a6630fd308a14cc9db1a68b1fb476a1 (patch) | |
| tree | 4757e56966309216119b10a8c8250154acb53aa1 | |
| parent | 34286871b95be03c1eda7433cb8c15bf092e8c13 (diff) | |
| download | webtrees-93b73e0f9a6630fd308a14cc9db1a68b1fb476a1.tar.gz webtrees-93b73e0f9a6630fd308a14cc9db1a68b1fb476a1.tar.bz2 webtrees-93b73e0f9a6630fd308a14cc9db1a68b1fb476a1.zip | |
Media file attributes being ignored
| -rw-r--r-- | app/Functions/FunctionsImport.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Functions/FunctionsImport.php b/app/Functions/FunctionsImport.php index 809df6cd7d..31f6a968f6 100644 --- a/app/Functions/FunctionsImport.php +++ b/app/Functions/FunctionsImport.php @@ -1060,8 +1060,8 @@ class FunctionsImport 'm_file' => $tree->id(), 'multimedia_file_refn' => mb_substr($media_file->filename(), 0, 248), 'multimedia_format' => mb_substr($media_file->format(), 0, 4), - 'source_media_type' => mb_substr($media_file->type(), 15), - 'descriptive_title' => mb_substr($media_file->title(), 248), + 'source_media_type' => mb_substr($media_file->type(), 0, 15), + 'descriptive_title' => mb_substr($media_file->title(), 0, 248), ]); } } |
