From 7b621420f7c0e610b16a48bc2184ef14312459aa Mon Sep 17 00:00:00 2001 From: Aurimas Vinckevicius Date: Tue, 17 Feb 2015 22:12:52 -0600 Subject: [PATCH] Fix possible infinite loops --- chrome/content/zotero/xpcom/schema.js | 4 ++-- chrome/content/zotero/xpcom/utilities.js | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/chrome/content/zotero/xpcom/schema.js b/chrome/content/zotero/xpcom/schema.js index b5fc28f14b..62d0b61536 100644 --- a/chrome/content/zotero/xpcom/schema.js +++ b/chrome/content/zotero/xpcom/schema.js @@ -1962,9 +1962,9 @@ Zotero.Schema = new function(){ var rows = Zotero.DB.query("SELECT * FROM itemData WHERE valueID NOT IN (SELECT valueID FROM itemDataValues)"); if (rows) { for (var j=0; j