Bug 17095: (bug 16849 follow-up) Fix regression if patron does not exist
[koha.git] / Koha / IssuingRules.pm
blob53f5b84deb9059d6920cbf0dc4d4372ba1fb549b
1 package Koha::IssuingRules;
3 # Copyright Vaara-kirjastot 2015
5 # This file is part of Koha.
7 # Koha is free software; you can redistribute it and/or modify it under the
8 # terms of the GNU General Public License as published by the Free Software
9 # Foundation; either version 3 of the License, or (at your option) any later
10 # version.
12 # Koha is distributed in the hope that it will be useful, but WITHOUT ANY
13 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
14 # A PARTICULAR PURPOSE. See the GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License along
17 # with Koha; if not, write to the Free Software Foundation, Inc.,
18 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 use Modern::Perl;
21 use Koha::Database;
22 use base qw(Koha::Objects);
24 =head1 NAME
26 Koha::IssuingRules - Koha IssuingRules object set class
28 =head1 API
30 =head2 Class Methods
32 =cut
34 =head3 type
36 =cut
38 sub _type {
39 return 'Issuingrule';
42 =head3 object_class
44 =cut
46 sub object_class {
47 return 'Koha::IssuingRule';