Realized that I would get an error the first time I did the data export with the current method.
Cette révision appartient à :
Parent
087f25681e
révision
0241a59dc5
|
@ -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
|
||||
|
||||
|
|
Référencer dans un nouveau ticket