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

(-)a/acqui/lateorders.pl (-2 / +1 lines)
Lines 69-75 my ($template, $loggedinuser, $cookie, $userflags) = get_template_and_user( Link Here
69
69
70
# Check if user has rights to access this page
70
# Check if user has rights to access this page
71
my $can_claim_for_all = 0;
71
my $can_claim_for_all = 0;
72
if ($userflags->{superlibrarian}
72
if (C4::Context->IsSuperLibrarian()
73
    or (!ref $userflags->{acquisition} and $userflags->{acquisition})
73
    or (!ref $userflags->{acquisition} and $userflags->{acquisition})
74
    or (ref $userflags->{acquisition}
74
    or (ref $userflags->{acquisition}
75
        and $userflags->{acquisition}->{order_claim_for_all}
75
        and $userflags->{acquisition}->{order_claim_for_all}
76
- 

Return to bug 7292