projects
/
koha_ffzg
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bug 18785: Force scalar context in Koha::Subscription::biblio
[koha_ffzg]
/
Koha
/
Subscription.pm
diff --git
a/Koha/Subscription.pm
b/Koha/Subscription.pm
index
0398763
..
2a793e5
100644
(file)
--- a/
Koha/Subscription.pm
+++ b/
Koha/Subscription.pm
@@
-45,7
+45,7
@@
Returns the biblio linked to this subscription as a Koha::Biblio object
sub biblio {
my ($self) = @_;
- return Koha::Biblios->find($self->biblionumber);
+ return
scalar
Koha::Biblios->find($self->biblionumber);
}
=head3 type