Bugzilla – Attachment #90349: Bug 22193: QA follow up - return undef instead of an array if no ressource id for
bug #22193
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
View
|
Details
|
Raw Unified
| Return to
bug 22193
Collapse All
|
Expand All
(-)
a/Koha/SharedContent.pm (-2 / +1 lines)
Lines 142-148 sub get_entity_comments {
Link Here
142
my ($resource, $id) = @_;
142
my ($resource, $id) = @_;
143
143
144
unless ($id) {
144
unless ($id) {
145
return [];
145
return;
146
}
146
}
147
147
148
my $entity = get_entity_by_id(
148
my $entity = get_entity_by_id(
149
-
Return to
bug 22193