Bugzilla – Attachment 18736 Details for
Bug 10258
Remove erroneous call to haspermission in basket.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[ALT] Bug 10354: Remove erroneous call to haspermission in basket.pl
Bug-10354-Remove-erroneous-call-to-haspermission-i.patch (text/plain), 1.20 KB, created by
Jonathan Druart
on 2013-06-07 12:37:36 UTC
(
hide
)
Description:
[ALT] Bug 10354: Remove erroneous call to haspermission in basket.pl
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2013-06-07 12:37:36 UTC
Size:
1.20 KB
patch
obsolete
>From f11c90e1b3d6b546e31dcb76fa60d74c13f98589 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Fri, 7 Jun 2013 14:36:17 +0200 >Subject: [PATCH] Bug 10354: Remove erroneous call to haspermission in > basket.pl > >http://bugs.koha-community.org/show_bug.cgi?id=10258 >--- > acqui/basket.pl | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/acqui/basket.pl b/acqui/basket.pl >index 7eff6e4..10e7568 100755 >--- a/acqui/basket.pl >+++ b/acqui/basket.pl >@@ -207,8 +207,8 @@ if ( $op eq 'delete_confirm' ) { > } > #if the basket is closed,and the user has the permission to edit basketgroups, display a list of basketgroups > my ($basketgroup, $basketgroups); >- my $member = GetMember(borrowernumber => $loggedinuser); >- if ($basket->{closedate} && haspermission({ acquisition => 'group_manage'} )) { >+ my $uid = GetMember(borrowernumber => $loggedinuser)->{userid}; >+ if ($basket->{closedate} && haspermission($uid, { acquisition => 'group_manage'} )) { > $basketgroups = GetBasketgroups($basket->{booksellerid}); > for my $bg ( @{$basketgroups} ) { > if ($basket->{basketgroupid} && $basket->{basketgroupid} == $bg->{id}){ >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 10258
:
18166
|
18592
|
18736
|
18853
|
18944
|
19039
|
19053
|
19054
|
19648
|
19649