Remove (harmless) SQL mistake
This commit is contained in:
parent
f43acd85c9
commit
07db0d8fe3
|
@ -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…
Reference in New Issue
Block a user