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

(-)a/Koha/Virtualshelf.pm (-2 / +1 lines)
Lines 249-255 sub can_be_managed { Link Here
249
    return 1
249
    return 1
250
      if $borrowernumber and $self->owner == $borrowernumber;
250
      if $borrowernumber and $self->owner == $borrowernumber;
251
251
252
    my $patron = Koha::Patrons->find( $borrowernumber );
252
    my $patron = Koha::Patrons->find( $borrowernumber ) or return 0;
253
    return 1
253
    return 1
254
      if $self->is_public and haspermission( $patron->userid, { lists => 'edit_public_lists' } );
254
      if $self->is_public and haspermission( $patron->userid, { lists => 'edit_public_lists' } );
255
    return 0;
255
    return 0;
256
- 

Return to bug 26346