diff options
author | Sebastian Reichel <sre@ring0.de> | 2012-11-16 01:53:57 +0100 |
---|---|---|
committer | Sebastian Reichel <sre@ring0.de> | 2012-11-16 01:53:57 +0100 |
commit | 8477671a17482cd1560bf8a7bbcef21d68a43181 (patch) | |
tree | 8b24d60e5aec7c4b9cf086db9a105fa7b9690887 /src | |
parent | dabb96d7851625680dc24dc2fc2408652e37f91a (diff) | |
download | serial-barcode-scanner-8477671a17482cd1560bf8a7bbcef21d68a43181.tar.bz2 |
fix price info (guest & member info were swapped)
Diffstat (limited to 'src')
-rw-r--r-- | src/scannersession.vala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scannersession.vala b/src/scannersession.vala index 6952ed8..c281cbc 100644 --- a/src/scannersession.vala +++ b/src/scannersession.vala @@ -141,8 +141,8 @@ public class ScannerSession { var name = db.get_product_name(id); if(!logged_in) { - var mprice = db.get_product_price(0, id); - var gprice = db.get_product_price(1, id); + var mprice = db.get_product_price(1, id); + var gprice = db.get_product_price(0, id); audio.play_system("error.ogg"); write_to_log(@"article info: $name (Member: $mprice €, Guest: $gprice €)"); |