From 4ef1d1d6c135fc930c6ce0dab79fbe4875727304 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 --- 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 7829ad9..5aecc3c 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.8.1