a lot of session fixes... I'm sure this breaks something somewhere though.
This commit is contained in:
parent
279233b367
commit
0c177bacb1
10 changed files with 38 additions and 24 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue