1
0
Bifurcation 0

Realized that I would get an error the first time I did the data export with the current method.

Cette révision appartient à :
Nathanial.C.Jones 2011-07-06 12:22:43 +00:00
Parent 087f25681e
révision 0241a59dc5
1 fichiers modifiés avec 5 ajouts et 1 suppressions

Voir le fichier

@ -202,7 +202,11 @@ function DB_GetItem(group, id, silent, register)
frequencies[ite] = (frequencies[ite] or 0) + (register and 1 or 1000000000) -- effectively infinity
end
if export then QHDB_Export[group][id] = ite end
if export then
if not QHDB_Export[group] then QHDB_Export[group] = {} end
QHDB_Export[group][id] = ite
end
return ite
end