@@ -, +, @@ --- Koha/Patron.pm | 1 + 1 file changed, 1 insertion(+) --- a/Koha/Patron.pm +++ a/Koha/Patron.pm @@ -1146,6 +1146,7 @@ Return true if the patron (usually the logged in user) can see the patron's info sub can_see_patron_infos { my ( $self, $patron ) = @_; + return unless $patron; return $self->can_see_patrons_from( $patron->library->branchcode ); } --