[Koha-bugs] [Bug 10258] Remove erroneous call to haspermission in basket.pl
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jun 7 14:35:21 CEST 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10258
Jonathan Druart <jonathan.druart at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jonathan.druart at biblibre.co
| |m
--- Comment #3 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Marcel, Does the following code fix the problem?
- my $member = GetMember(borrowernumber => $loggedinuser);
- if ($basket->{closedate} && haspermission({ acquisition => 'group_manage'}
)) {
+ my $member = GetMember(borrowernumber => $loggedinuser)->{userid};
+ if ($basket->{closedate} && haspermission($uid, { acquisition =>
'group_manage'} )) {
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list