summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2013-02-27 22:10:36 +0100
committerSebastian Reichel <sre@ring0.de>2013-02-27 22:10:36 +0100
commit1fcbb1c4196f84bd01f94bdda3e3bc243f1b4efb (patch)
tree5ff41c7a75bdcfb384d35692a12c152be1c97378
parentb3612f9a38875650534c42993d75666f11c80540 (diff)
downloadserial-barcode-scanner-1fcbb1c4196f84bd01f94bdda3e3bc243f1b4efb.tar.bz2
fix price info for memberprice
-rw-r--r--src/web.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web.vala b/src/web.vala
index 98b899f..0820bc8 100644
--- a/src/web.vala
+++ b/src/web.vala
@@ -613,7 +613,7 @@ public class WebServer {
if(guest >= 1 && member >= 1) {
if(db.new_price(id, timestamp, member, guest)) {
template.replace("GUEST", @"$guest");
- template.replace("MEMBER", @"$guest");
+ template.replace("MEMBER", @"$member");
template.replace("NEWPRICE.OK", "block");
template.replace("NEWPRICE.FAIL", "none");
msg.set_response("text/html", Soup.MemoryUse.COPY, template.data);