]> git.koha-community.org Git - koha.git/commit
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)
committerKatrin Fischer <katrin.fischer.83@web.de>
Sun, 16 Apr 2017 11:46:13 +0000 (13:46 +0200)
commit733d77520f92f9367fa0a100cdcda79d2a98232d
treea13aef562c9e35b7cfa93efa73cd53d48debb151
parent061baca0884e27533ba8c37fb139644727fda7f5
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>
(cherry picked from commit 17f4b05d23cb19cebeedb361005bf411a5f25c60)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
C4/Serials.pm