a lot of session fixes... I'm sure this breaks something somewhere though.

This commit is contained in:
Matthew Wilson 2006-03-10 19:59:43 +00:00
parent 279233b367
commit 0c177bacb1
10 changed files with 38 additions and 24 deletions

View file

@ -58,7 +58,7 @@ sub new {
from EventManagementSystem_products as e, products as p
where p.productId = e.productId and p.productId=".$session->db->quote($eventId));
bless {_event => $eventData}, $class;
bless {_event => $eventData, _session => $session }, $class;
}
#-------------------------------------------------------------------

View file

@ -68,7 +68,7 @@ sub new {
my %parameters = map {split(/\./, $_)} split(/,/, $variant->{composition});
my $composition = join(', ',map {$product->getParameter($_)->{name} .': '. $product->getOption($parameters{$_})->{value}} keys (%parameters));
bless {_product => $product, _composition => $composition, _variant => $variant}, $class;
bless {_product => $product, _composition => $composition, _variant => $variant, _session => $session }, $class;
}
#-------------------------------------------------------------------

View file

@ -62,7 +62,7 @@ sub new {
$type = shift;
$subscription = WebGUI::Subscription->new($session,$subscriptionId);
bless {_subscription => $subscription, _subscriptionId => $subscriptionId}, $class;
bless {_session => $session, _subscription => $subscription, _subscriptionId => $subscriptionId}, $class;
}
#-------------------------------------------------------------------