diff --git a/chrome/chromeFiles/content/scholar/data_access.js b/chrome/chromeFiles/content/scholar/data_access.js index 8be394b11..e21fe39a1 100644 --- a/chrome/chromeFiles/content/scholar/data_access.js +++ b/chrome/chromeFiles/content/scholar/data_access.js @@ -243,7 +243,7 @@ Scholar.Object.prototype.getField = function(field){ Scholar.Object.prototype.setField = function(field, value, loadIn){ // Primary field if (this.isPrimaryField(field)){ - if (!this.isEditableField()){ + if (!this.isEditableField(field)){ throw ('Primary field ' + field + ' cannot be changed through ' + 'setField'); }