From 611200200316f4bd00175c9ace2ac17465308d8a Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sun, 12 Aug 2018 04:09:26 -0400 Subject: [PATCH] Fix breakage from ea8b15a44a4 --- chrome/content/zotero/xpcom/translation/translate.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/translation/translate.js b/chrome/content/zotero/xpcom/translation/translate.js index b051226df8..bee94f88e1 100644 --- a/chrome/content/zotero/xpcom/translation/translate.js +++ b/chrome/content/zotero/xpcom/translation/translate.js @@ -3081,7 +3081,9 @@ Zotero.Translate.IO._RDFSandbox.prototype = { const rdf = "http://www.w3.org/1999/02/22-rdf-syntax-ns#"; var values = this.getStatementsMatching(resource, rdf + 'value'); - if(values && values.length) return this.getResourceURI(values[0]); + if (values && values.length) { + return values[0][2]; + } if(resource.uri) return resource.uri; if(resource.toNT == undefined) throw new Error("Zotero.RDF: getResourceURI called on invalid resource");