diff --git a/chrome/chromeFiles/content/scholar/data_access.js b/chrome/chromeFiles/content/scholar/data_access.js index 1ecbe84fab..cd17554f56 100644 --- a/chrome/chromeFiles/content/scholar/data_access.js +++ b/chrome/chromeFiles/content/scholar/data_access.js @@ -480,9 +480,9 @@ Scholar.Item.prototype.save = function(){ + ' AND orderIndex=' + orderIndex; if (Scholar.DB.valueQuery(sql2)){ - sql += 'UPDATE itemCreators SET creatorID=' - + creatorID + ', creatorTypeID=' - + creator['creatorTypeID'] + ', ' + sql += 'UPDATE itemCreators SET ' + + 'creatorID=' + creatorID +', ' + + 'creatorTypeID=' + creator['creatorTypeID'] + ' ' + 'WHERE itemID=' + this.getID() + ' AND orderIndex=' + orderIndex + ";\n"; }