[ic] Minor pricing bug?

Mike Heins mikeh@minivend.com
Thu, 5 Oct 2000 15:42:02 -0400


Quoting Jerry (jerry@data-logic.com):
> When using dealer wholesale pricing, user starts with
> retail prices. If the user is flagged as a dealer and
> logs in, then they get wholesale pricing. However, logging
> keeps the wholesale pricing persistent and continues with
> wholesale prices even though the user is no longer even
> logged in to the store. This is based on the construct
> demo. Wouldn't think this was intentional. Anyone have a
> quick fix before I dive into this :)
> 

Actually, you have found a deficiency in the clear_values()
routine in UserDB.pm. It clears $Values->{dealer} instead of
$Scratch->{dealer}.

Thanks for finding it! Fixed in CVS.

-- 
Akopia, Inc., 131 Willow Lane, Floor 2, Oxford, OH  45056
phone +1.513.523.7621 fax 7501 <heins@akopia.com>

Friends don't let friends use Outlook. -- Bob Blaylock