From: Jonathan Druart Date: Mon, 19 Sep 2016 11:35:40 +0000 (+0100) Subject: Bug 17216: Do no display the empty string category name X-Git-Tag: v16.11.00~425 X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=commitdiff_plain;h=5d0dbcaabe833dd0980bffbfd583e071773f8d79;p=srvgit Bug 17216: Do no display the empty string category name Signed-off-by: Katrin Fischer Signed-off-by: Brendan Gallagher --- 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 );