diff --git a/chrome/content/zotero/xpcom/attachments.js b/chrome/content/zotero/xpcom/attachments.js index 89c2005f5..3655784f6 100644 --- a/chrome/content/zotero/xpcom/attachments.js +++ b/chrome/content/zotero/xpcom/attachments.js @@ -457,7 +457,8 @@ Zotero.Attachments = new function(){ title = dir[dir.length - 2]; } } - else { + + if (!title) { title = url; } }