View | Details | Raw Unified | Return to bug 34266
Collapse All | Expand All

(-)a/Koha/UI/Form/Builder/Item.pm (-2 / +1 lines)
Lines 220-226 sub generate_subfield_form { Link Here
220
                  $itemtype->translated_description;
220
                  $itemtype->translated_description;
221
            }
221
            }
222
222
223
            if (!$value && $biblionumber) {
223
            if (!$value && $biblionumber && !C4::Context->preference('item-level_itypes')) {
224
                my $itype_sth = $dbh->prepare(
224
                my $itype_sth = $dbh->prepare(
225
                    "SELECT itemtype FROM biblioitems WHERE biblionumber = ?");
225
                    "SELECT itemtype FROM biblioitems WHERE biblionumber = ?");
226
                $itype_sth->execute($biblionumber);
226
                $itype_sth->execute($biblionumber);
227
- 

Return to bug 34266