X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=svc%2Fbib_profile;h=a62e7e0965aa0ffa0861f495311a043df6ca4781;hb=9035706950cd2520f7019ceb2f09eebf83723a56;hp=41ea042047411d462d9976fed1b7a5f444006a75;hpb=7ee7effc89e5b17b72d27d38e1eaa6acc28b35d2;p=koha_fer diff --git a/svc/bib_profile b/svc/bib_profile index 41ea042047..a62e7e0965 100755 --- a/svc/bib_profile +++ b/svc/bib_profile @@ -19,6 +19,8 @@ # use strict; +use warnings; + use CGI; use C4::Auth qw/check_api_auth/; use C4::Context; @@ -70,6 +72,7 @@ sub _get_mandatory_subfields { FROM marc_subfield_structure WHERE frameworkcode = '' AND tagsubfield <> '\@' + AND kohafield <> 'biblioitems.itemtype' AND mandatory = 1"); $sth->execute(); my @subfields = ();