[Koha-bugs] [Bug 15635] Move the patron images related code to Koha::Patron::Images

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 25 18:57:47 CET 2016


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15635

--- Comment #6 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 47126
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=47126
Bug 15635: Koha::Patron::Images - Remove GetPatronImage

Review of attachment 47126:
 --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=15635&attachment=47126)
-----------------------------------------------------------------

::: opac/opac-memberentry.pl
@@ +232,5 @@
>      );
>  
>      if (C4::Context->preference('OPACpatronimages')) {
> +        my $patron_image = Koha::Patron::Images->find($borrower->{borrowernumber});
> +        $template->param( display_patron_image => 1 ) if $patron_image;

After this many changes, I can understand a cut-and-paste mentality. :)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list