]> git.koha-community.org Git - koha.git/commit
Bug 20625: Handle non existing of active currency
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 23 Apr 2018 15:07:58 +0000 (12:07 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 24 Apr 2018 14:29:46 +0000 (11:29 -0300)
commitfc082c26a18392a029d60ef76db6d358c073d17c
tree241f35676d9ff34ca3dacceaa7230a843894a89b
parent564809473d0ae50d3dd2ea69e1ab999851a62fab
Bug 20625: Handle non existing of active currency

This patch avoid the explosion in the air when creating a new patron
category and no active currency is defined.

Test plan:
Remove the currencies, create a new patron category
Without this patch applied you will get
  Can't call method "p_sep_by_space" on an undefined value

With this patch the form will be displayed correctly and you will be
able to create the patron category

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Koha/Number/Price.pm