@@ -, +, @@ --- Koha/Virtualshelf.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/Koha/Virtualshelf.pm +++ a/Koha/Virtualshelf.pm @@ -248,7 +248,7 @@ sub can_be_managed { return 1 if $borrowernumber and $self->owner == $borrowernumber; - my $patron = Koha::Patrons->find( $borrowernumber ); + my $patron = Koha::Patrons->find( $borrowernumber ) or return 0; return 1 if $self->is_public and haspermission( $patron->userid, { lists => 'edit_public_lists' } ); return 0; --