www

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

commit a538386d51770a16123057b66ed38b8169c431b3
parent f2d03014b0136ea4a4ea391e91ddabffe5f425f8
Author: aurimasv <aurimas.dev@gmail.com>
Date:   Thu, 31 May 2012 00:41:38 -0500

In case title is a number, convert to string, so we can do str.replace later

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]+\})?" + "([^%\{\}]*)\}?");