From 5d0dbcaabe833dd0980bffbfd583e071773f8d79 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 19 Sep 2016 12:35:40 +0100 Subject: [PATCH] Bug 17216: Do no display the empty string category name Signed-off-by: Katrin Fischer Signed-off-by: Brendan Gallagher --- admin/authorised_values.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/authorised_values.pl b/admin/authorised_values.pl index 7829ad9d9d..5aecc3c80d 100755 --- a/admin/authorised_values.pl +++ b/admin/authorised_values.pl @@ -208,7 +208,7 @@ $template->param( if ( $op eq 'list' ) { # build categories list - my @categories = Koha::AuthorisedValueCategories->search({ category_name => { -not_in => ['branches', 'itemtypes', 'cn_source']}}, { order_by => ['category_name'] } ); + my @categories = Koha::AuthorisedValueCategories->search({ category_name => { -not_in => ['', 'branches', 'itemtypes', 'cn_source']}}, { order_by => ['category_name'] } ); my @category_list; for my $category ( @categories ) { push( @category_list, $category->category_name ); -- 2.39.5