|
Lines 3977-3982
sub GetAgeRestriction {
Link Here
|
| 3977 |
my ($record_restrictions, $borrower) = @_; |
3977 |
my ($record_restrictions, $borrower) = @_; |
| 3978 |
my $markers = C4::Context->preference('AgeRestrictionMarker'); |
3978 |
my $markers = C4::Context->preference('AgeRestrictionMarker'); |
| 3979 |
|
3979 |
|
|
|
3980 |
return unless $record_restrictions; |
| 3980 |
# Split $record_restrictions to something like FSK 16 or PEGI 6 |
3981 |
# Split $record_restrictions to something like FSK 16 or PEGI 6 |
| 3981 |
my @values = split ' ', uc($record_restrictions); |
3982 |
my @values = split ' ', uc($record_restrictions); |
| 3982 |
return unless @values; |
3983 |
return unless @values; |