Modified:
branches/Dongle-1.0/Dongle.lua
branches/Dongle-1.1/Dongle.lua
branches/Dongle-1.2/Dongle.lua
Log:
* Fix for a typo in :GetProfiles() error checking
Modified: branches/Dongle-1.0/Dongle.lua
==============================================================================
--- branches/Dongle-1.0/Dongle.lua (original)
+++ branches/Dongle-1.0/Dongle.lua Tue Nov 18 14:35:54 2008
@@ -761,7 +761,7 @@
function Dongle.GetProfiles(db, tbl)
assert(3, databases[db],
string.format(L["MUST_CALLFROM_DBOBJECT"], "GetProfiles"))
- argcheck(t, 2, "table", "nil")
+ argcheck(tbl, 2, "table", "nil")
-- Clear the container table
if tbl then
Modified: branches/Dongle-1.1/Dongle.lua
==============================================================================
--- branches/Dongle-1.1/Dongle.lua (original)
+++ branches/Dongle-1.1/Dongle.lua Tue Nov 18 14:35:54 2008
@@ -898,7 +898,7 @@
function Dongle.GetProfiles(db, tbl)
assert(3, databases[db],
string.format(L["MUST_CALLFROM_DBOBJECT"], "GetProfiles"))
- argcheck(t, 2, "table", "nil")
+ argcheck(tbl, 2, "table", "nil")
-- Clear the container table
if tbl then
Modified: branches/Dongle-1.2/Dongle.lua
==============================================================================
--- branches/Dongle-1.2/Dongle.lua (original)
+++ branches/Dongle-1.2/Dongle.lua Tue Nov 18 14:35:54 2008
@@ -902,7 +902,7 @@
function Dongle.GetProfiles(db, tbl)
assert(3, databases[db],
string.format(L["MUST_CALLFROM_DBOBJECT"], "GetProfiles"))
- argcheck(t, 2, "table", "nil")
+ argcheck(tbl, 2, "table", "nil")
-- Clear the container table
if tbl then