Bug 11802 - corrects for the patron purchase suggestions page
[koha.git] / members / purchase-suggestions.pl
index d071425..a624b68 100755 (executable)
@@ -51,6 +51,9 @@ $template->param(
     branchname   => GetBranchName( $borrower->{'branchcode'} ),
 );
 
+my ($picture, $dberror) = GetPatronImage($borrowernumber);
+$template->param( picture => 1 ) if $picture;
+
 my $suggestions = SearchSuggestion( { suggestedby => $borrowernumber } );
 
 $template->param( suggestions => $suggestions );