From 6644de3ab06db516385866b01fd0b848ab6cee15 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) --- 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 260e3ad900e..70801fefa71 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.34.1