Bug 17642: Do not explode if no authorised value exist
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 17 Nov 2016 11:23:57 +0000 (11:23 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 18 Nov 2016 15:52:01 +0000 (15:52 +0000)
commit5f4337a765c34fd736abfda2faddcdb11367f642
tree9b85bc67a86a6719e0fa1bc208a98004fdfc69ef
parenta16a75018063477cf13fdbdad60152bbb27a7616
Bug 17642: Do not explode if no authorised value exist

Can't call method "lib" on an undefined value at
/home/vagrant/kohaclone/Koha/AuthorisedValues.pm line 137.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Koha/AuthorisedValues.pm
t/db_dependent/AuthorisedValues.t