Log warning when not setting createdByUser/lastModifiedByUser
(I encountered this in a test when trying to set createdByUserID without `Zotero.Users.setName()`.)
This commit is contained in:
parent
dc321ce643
commit
838152155e
1 changed files with 3 additions and 0 deletions
|
@ -1413,6 +1413,9 @@ Zotero.Item.prototype._saveData = Zotero.Promise.coroutine(function* (env) {
|
|||
]
|
||||
);
|
||||
}
|
||||
else {
|
||||
Zotero.logError("Current username not found -- not setting group item user");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue