changed ipairs to pairs

git [02-12-18 - 06:53]
changed ipairs to pairs
Filename
IIfA/IIfABackpack.lua
IIfA/IIfADataCollection.lua
diff --git a/IIfA/IIfABackpack.lua b/IIfA/IIfABackpack.lua
index 3c2b840..9134916 100644
--- a/IIfA/IIfABackpack.lua
+++ b/IIfA/IIfABackpack.lua
@@ -601,7 +601,7 @@ function IIfA:GetAccountInventoryList()

 	if IIfA.data.b_collectHouses then
 		table.insert(accountInventories, "All Houses")
-		for idx, houseName in ipairs(IIfA:GetTrackedHouseNames()) do
+		for idx, houseName in pairs(IIfA:GetTrackedHouseNames()) do
 			table.insert(accountInventories, houseName)
 		end
 	end
diff --git a/IIfA/IIfADataCollection.lua b/IIfA/IIfADataCollection.lua
index 0f6fff2..f8b90e8 100644
--- a/IIfA/IIfADataCollection.lua
+++ b/IIfA/IIfADataCollection.lua
@@ -455,7 +455,6 @@ function IIfA:EvalBagItem(bagId, slotId, fromXfer, itemCount, itemLink, itemName

 	itemFilterType = GetItemFilterTypeInfo(bagId, slotId) or 0
 	DBitem = DBv3[itemKey]
-	location =
 	location = locationID or getLocation(location, bagId) or EMPTY_STRING

 	if(DBitem) then
@@ -543,7 +542,7 @@ function IIfA:CollectAll()
 	local location = EMPTY_STRING
 	local BagList = IIfA:GetTrackedBags() -- 20.1. mana: Iterating over a list now

-	for bagId, tracked in ipairs(BagList) do
+	for bagId, tracked in pairs(BagList) do
 		-- call with libAsync to avoid lags
 		task:Call(function()
 			bagItems = GetBagSize(bagId)