Fix a bad call to insufficient in the Shop.
This commit is contained in:
parent
4ff5595666
commit
c8781f8b55
2 changed files with 2 additions and 1 deletions
|
|
@ -22,6 +22,7 @@
|
|||
- fixed a bug in Thingy where when searching using multi value search form
|
||||
elements (eg. check lists) only one of the selected elements was taken into
|
||||
account in the search query. ( Martin Kamerbeek / Oqapi )
|
||||
- fixed #10439: Call to insufficient is wrong (lrobinson / Orchard Solutions )
|
||||
|
||||
7.7.7
|
||||
- Added EMS Schedule table
|
||||
|
|
|
|||
|
|
@ -297,7 +297,7 @@ sub www_viewTransaction {
|
|||
my $transaction = shift || WebGUI::Shop::Transaction->new( $session,$transactionId );
|
||||
my $notice = shift;
|
||||
|
||||
return $session->insufficient unless $transaction->get('userId') eq $session->user->userId;
|
||||
return $session->privilege->insufficient unless $transaction->get('userId') eq $session->user->userId;
|
||||
|
||||
my $var = $transaction->getTransactionVars;
|
||||
$var->{ notice } = $notice;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue