fix undefined variable

This commit is contained in:
Riley L. 2025-05-13 19:30:10 +02:00
parent 3ce49a6702
commit fe982e0b94

View file

@ -427,7 +427,7 @@ local function r_transaction_post()
end
local time = os.time()
log:write(string.format("%d,%s,%s,%d,%s,%s,%s\n",
time, user_src, user_dst, amount, barcode_name or "", pcount or "", comment))
time, user_src, user_dst, amount, pname or "", pcount or "", comment))
log:flush()
log:close()
return format([[