visitors shouldn't be allowed to view their purchases
This commit is contained in:
parent
975344b1ce
commit
a12d8b6815
1 changed files with 1 additions and 0 deletions
|
|
@ -1951,6 +1951,7 @@ Method to display list of purchases. Event admins can see everyone's purchases.
|
|||
|
||||
sub www_managePurchases {
|
||||
my $self = shift;
|
||||
return $self->session->privilege->insufficient if $self->session->var->get('userId') eq '1';
|
||||
my %var = $self->get();
|
||||
my $isAdmin = $self->canAddEvents;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue