Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix boolean error, thanks for reporting Asbjørn!

  • Loading branch information...
commit 2382f63d7e6b802389c6a71e48576130137d1b51 1 parent 9ccfd86
@esmil esmil authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  drinkomatic.lua
View
2  drinkomatic.lua
@@ -278,7 +278,7 @@ PROD_NEW_PRICE = {
INSERT INTO products (barcode, price, name) \z
VALUES (?, ?, ?)", code, n, name)
- if ok then
+ if not ok then
print(" Error creating product: %s", err)
return 'MAIN'
end
Please sign in to comment.
Something went wrong with that request. Please try again.