https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20903

--- Comment #2 from Josef Moravec <josef.mora...@gmail.com> ---
Comment on attachment 75915
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=75915
Bug 20903: Remove unnecessary category code parameters

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

::: members/printfeercpt.pl
@@ -60,5 @@
>  
> -if ( $patron->is_child ) {
> -    my $patron_categories = Koha::Patron::Categories->search_limited({ 
> category_type => 'A' }, {order_by => ['categorycode']});
> -    $template->param( 'CATCODE_MULTI' => 1) if $patron_categories->count > 1;
> -    $template->param( 'catcode' => $patron_categories->next->categorycde )  
> if $patron_categories->count == 1;

This is the code which causes problem ('categorycde' instead of
'categorycode'). But as this code is not needed, I removed whole block of code.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to