@@ -, +, @@ FK --- Koha/Acquisition/Basket.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- a/Koha/Acquisition/Basket.pm +++ a/Koha/Acquisition/Basket.pm @@ -57,8 +57,9 @@ Returns the I for the basket creator. sub creator { my ($self) = @_; - return Koha::Patrons->find( $self->authorisedby ) - if $self->authorisedby; + my $borrowernumber = $self->authorisedby; # FIXME missing FK here + return unless $borrowernumber; + return Koha::Patrons->find( $borrowernumber ); } =head3 basket_group --