www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 3769fc5ae33340b8a879ae4bddc6929b58c2ff10
parent f2d03014b0136ea4a4ea391e91ddabffe5f425f8
Author: Simon Kornblith <simon@simonster.com>
Date:   Wed, 30 May 2012 22:59:59 -0700

Merge pull request #137 from aurimasv/attach

Fixes a bug in getFileBaseNameFromItem
Diffstat:
Mchrome/content/zotero/xpcom/attachments.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/attachments.js b/chrome/content/zotero/xpcom/attachments.js @@ -891,7 +891,7 @@ Zotero.Attachments = new function(){ break; default: - var value = item.getField(field, false, true); + var value = '' + item.getField(field, false, true); } var re = new RegExp("\{?([^%\{\}]*)" + rpl + "(\{[0-9]+\})?" + "([^%\{\}]*)\}?");