a fix
This commit is contained in:
parent
d3cfc49b39
commit
4d4df894d5
1 changed files with 15 additions and 1 deletions
|
|
@ -2638,7 +2638,6 @@ sub view {
|
|||
# $self->emptyScratchCart;
|
||||
# $self->session->scratch->delete('EMS_add_purchase_events');
|
||||
# }
|
||||
return $self->www_search() if $self->session->scratch->get('currentMainEvent');
|
||||
|
||||
my $i18n = WebGUI::International->new($self->session,'Asset_EventManagementSystem');
|
||||
# Get the products available for sale for this page
|
||||
|
|
@ -3202,6 +3201,21 @@ sub www_editDiscountPassSave {
|
|||
}
|
||||
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
=head2 www_view ( )
|
||||
|
||||
Returns the view() method of the asset object if the requestor canView.
|
||||
|
||||
=cut
|
||||
|
||||
sub www_view {
|
||||
my $self = shift;
|
||||
return $self->session->privilege->noAccess() unless $self->canView;
|
||||
return $self->www_search() if $self->session->scratch->get('currentMainEvent');
|
||||
return $self->session->style->process($self->view,$self->getValue("styleTemplateId"));
|
||||
}
|
||||
|
||||
|
||||
|
||||
1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue