diff --git a/chrome/content/zotero/xpcom/integration.js b/chrome/content/zotero/xpcom/integration.js index aca55b541f..c619724439 100644 --- a/chrome/content/zotero/xpcom/integration.js +++ b/chrome/content/zotero/xpcom/integration.js @@ -146,7 +146,7 @@ Zotero.Integration = new function() { */ this.warnOutdatedTemplate = function (agent, templateVersion) { const expectedTemplateVersion = TEMPLATE_VERSIONS[agent]; - if (typeof expectedTemplateVersion != 'undefined' && templateVersion >= expectedTemplateVersion) return false; + if (typeof expectedTemplateVersion == 'undefined' || templateVersion >= expectedTemplateVersion) return false; const daysToIgnore = 30; const now = Math.floor(Date.now() / 1000); const updateTemplateDelayedOn = Zotero.Prefs.get('integration.updateTemplateDelayedOn');