Bug 14932: Do not call can_edit_subscription with an empty value
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 11 Apr 2017 13:31:49 +0000 (10:31 -0300)
committerKyle M Hall <kyle@bywatersolutions.com>
Thu, 13 Apr 2017 12:31:47 +0000 (08:31 -0400)
commit17f4b05d23cb19cebeedb361005bf411a5f25c60
tree8969fb94996825cc90d46d2d67a3858c941eff94
parent6940aa91a53371ba49528022954a9a349044ab63
Bug 14932: Do not call can_edit_subscription with an empty value

ref($sub) eq 'ARRAY' should always be true, what we want is to call
can_edit_subscription if there is at least 1 serial for this
subscription.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Serials.pm