mirror of
https://github.com/zotero/zotero.git
synced 2026-10-08 03:08:19 +00:00
Remove (harmless) SQL mistake
This commit is contained in:
parent
f43acd85c9
commit
07db0d8fe3
1 changed files with 1 additions and 1 deletions
|
|
@ -315,7 +315,7 @@ Zotero.Item.prototype.getCollections = function(){
|
|||
* Determine whether the item belongs to a given collectionID
|
||||
**/
|
||||
Zotero.Item.prototype.inCollection = function(collectionID){
|
||||
return !!parseInt(Zotero.DB.valueQuery("SELECT COUNT(*) collectionID "
|
||||
return !!parseInt(Zotero.DB.valueQuery("SELECT COUNT(*) "
|
||||
+ "FROM collectionItems WHERE collectionID=" + collectionID + " AND "
|
||||
+ "itemID=" + this.getID()));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue