From a2ea0291e7ca79e52e359da28ff6a9c9ab5b1445 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 21 Mar 2024 15:52:52 +0100 Subject: [PATCH] Bug 36395: Remove useless fetch in admin/marc_subfields_structure.pl Since (a long time ago!) commit 62aa3f4292d83bc9304e296de5f0830e28510492 Bug 17216: Use Koha::AVC from mss.pl This $sth2 is never fetched, we are retrieving the AV cat using Koha::AV::Categories Sponsored-by: The Research University in the Helmholtz Association (KIT) Signed-off-by: Owen Leonard Signed-off-by: Nick Clemens Signed-off-by: Katrin Fischer (cherry picked from commit 4158783eb284cf5f89266d3251f6d647200c0f01) Signed-off-by: Fridolin Somers --- admin/marc_subfields_structure.pl | 2 -- 1 file changed, 2 deletions(-) diff --git a/admin/marc_subfields_structure.pl b/admin/marc_subfields_structure.pl index 10f16e182f..839125e08b 100755 --- a/admin/marc_subfields_structure.pl +++ b/admin/marc_subfields_structure.pl @@ -101,8 +101,6 @@ if ( $op eq 'add_form' ) { # build authorised value list $sth2->finish; - $sth2 = $dbh->prepare("select distinct category from authorised_values"); - $sth2->execute; my @authorised_values= Koha::AuthorisedValueCategories->search->get_column('category_name'); # build thesaurus categories list -- 2.39.5