[ic] carts UNKNOWN?
Peter
peter at pajamian.dhs.org
Fri May 16 00:18:34 UTC 2014
On 05/16/2014 11:52 AM, IC wrote:
> Thanks for the reply, I have found the line of code that causes it, it is a
> line in a usertag which clears all session discounts, it is this running
> with nothing in the cart that causes it:-
>
> %{$Session->{discount}} = ();
Probably an issue with autovivification, try this:
%{$Session->{discount}} = () if exists $Session->{discount};
Peter
More information about the interchange-users
mailing list