From a23aae3c98aa8af6e99bd97af3bde8421fb426f0 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 (cherry picked from commit a2ea0291e7ca79e52e359da28ff6a9c9ab5b1445) Signed-off-by: Lucas Gass --- 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 8fe34624fd..427a081d76 100755 --- a/admin/marc_subfields_structure.pl +++ b/admin/marc_subfields_structure.pl @@ -96,8 +96,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