[wellwell-devel] [SCM] Interchange wellwell catalog branch, master, updated. 0fa899f4d3ea21113a8f166ba02eb8a6ddb10a54
Stefan Hornburg
racke at rt.icdevgroup.org
Fri May 7 12:57:18 UTC 2010
via 0fa899f4d3ea21113a8f166ba02eb8a6ddb10a54 (commit)
from 17e85881a095d990b6f800fc03629c43ac696a7f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 0fa899f4d3ea21113a8f166ba02eb8a6ddb10a54
Author: Rok RužiÄ <rok.ruzic at informa.si>
Date: Fri May 7 14:53:32 2010 +0200
Let WellWell::Cart::cart_refresh return the reference of an added single item.
-----------------------------------------------------------------------
Summary of changes and diff:
lib/WellWell/Cart.pm | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/lib/WellWell/Cart.pm b/lib/WellWell/Cart.pm
index 8996152..0f4e9d8 100644
--- a/lib/WellWell/Cart.pm
+++ b/lib/WellWell/Cart.pm
@@ -1,6 +1,7 @@
# WellWell::Cart - WellWell cart routines
#
# Copyright (C) 2009,2010 Stefan Hornburg (Racke) <racke at linuxia.de>.
+# Copyright (C) 2010 Rok RužiÄ <rok.ruzic at informa.si>.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -129,11 +130,9 @@ sub cart_refresh {
}
}
- cart_add($CGI::values{mv_order_item},
+ return cart_add($CGI::values{mv_order_item},
$CGI::values{mv_order_quantity} || 1,
$modifiers);
-
- return;
}
return 1 unless defined $CGI::values{"quantity0"};
hooks/post-receive
--
Interchange wellwell catalog
More information about the wellwell-devel
mailing list