View | Details | Raw Unified | Return to bug 7358
Collapse All | Expand All

(-)a/acqui/basket.pl (-1 / +1 lines)
Lines 199-204 if ( $op eq 'delete_confirm' ) { Link Here
199
    my $member = GetMember(borrowernumber => $loggedinuser);
199
    my $member = GetMember(borrowernumber => $loggedinuser);
200
    if ($basket->{closedate} && haspermission({ acquisition => 'group_manage'} )) {
200
    if ($basket->{closedate} && haspermission({ acquisition => 'group_manage'} )) {
201
        $basketgroups = GetBasketgroups($basket->{booksellerid});
201
        $basketgroups = GetBasketgroups($basket->{booksellerid});
202
        @$basketgroups= grep {!$_->{closed}} @$basketgroups;
202
        for my $bg ( @{$basketgroups} ) {
203
        for my $bg ( @{$basketgroups} ) {
203
            if ($basket->{basketgroupid} && $basket->{basketgroupid} == $bg->{id}){
204
            if ($basket->{basketgroupid} && $basket->{basketgroupid} == $bg->{id}){
204
                $bg->{default} = 1;
205
                $bg->{default} = 1;
205
- 

Return to bug 7358