]> 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)
committerMason James <mtj@kohaaloha.com>
Sun, 30 Apr 2017 11:19:55 +0000 (23:19 +1200)
commiteaf914f591947adf9c56c30ee018713adba91bab
tree3e8011bdf38e364626d6e8c5c3a5d5e92a3cac8e
parent4e8972d9c7c40040d726819b1b1479884bb640f8
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: Mason James <mtj@kohaaloha.com>
C4/Serials.pm