mirror of
https://github.com/zotero/zotero.git
synced 2026-09-11 22:51:15 +00:00
Don't require unused date field in retractions list
(cherry picked from commit b4c3c0c7f9)
This commit is contained in:
parent
8f3f3c9b86
commit
e19ab9b30b
1 changed files with 2 additions and 2 deletions
|
|
@ -541,10 +541,10 @@ Zotero.Retractions = {
|
|||
]);
|
||||
var prefixesToSend = new Set();
|
||||
for (let row of list) {
|
||||
let [prefixStr, date] = row.split(' ');
|
||||
let [prefixStr, _date] = row.split(' ');
|
||||
let type = prefixStr[0];
|
||||
let prefix = prefixStr.substr(1);
|
||||
if (!type || !prefix || !date) {
|
||||
if (!type || !prefix) {
|
||||
Zotero.warn("Bad line in retractions data: " + row);
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue