Attempt to fix more little errors

katkat42 [11-27-14 - 04:04]
Attempt to fix more little errors
Filename
Inventory.lua
SousChef.lua
diff --git a/Inventory.lua b/Inventory.lua
index 1693ef3..3eb3e01 100644
--- a/Inventory.lua
+++ b/Inventory.lua
@@ -5,7 +5,8 @@ local LibSort = LibStub:GetLibrary("LibSort-1.0")

 function SousChef.AddRankToSlot(row, funcs)
     local idFunc = funcs[1]
-    local slot = row.dataEntry.data
+    local slot = row.dataEntry and row.dataEntry.data or nil
+	if slot == nil then return end
     local bagId = slot[funcs[2]]
     local slotIndex = funcs[3] and slot[funcs[3]] or nil

diff --git a/SousChef.lua b/SousChef.lua
index 8686454..5019082 100644
--- a/SousChef.lua
+++ b/SousChef.lua
@@ -10,7 +10,7 @@ Thanks to Ayantir for the French translations, and sirinsidiator for the German
 SousChef = {}
 SousChef.Utility = {}
 SousChef.Media = {}
-SousChef.version = "2.11"
+SousChef.version = "2.13"

 local SousChef = SousChef
 local u = SousChef.Utility