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

--- Comment #4 from Jonathan Druart <jonathan.dru...@bugs.koha-community.org> 
---
Comment on attachment 43042
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=43042
Bug 14659: Allow patrons to enter card number and patron category on OPAC
registration page

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

::: Koha/Template/Plugin/Categories.pm
@@ +26,5 @@
> +sub GetName {
> +    my ( $self, $categorycode ) = @_;
> +
> +    my $schema = Koha::Database->new->schema;
> +    return $schema->resultset( 'Category' )->search( {

Please use Koha::Patron::Categories->find instead.

-- 
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