diff --git a/cataloguing/value_builder/marc21_field_003.pl b/cataloguing/value_builder/marc21_field_003.pl index ef0eca5ba8..4a3b5164bc 100755 --- a/cataloguing/value_builder/marc21_field_003.pl +++ b/cataloguing/value_builder/marc21_field_003.pl @@ -26,7 +26,6 @@ sub plugin_javascript { my ($dbh,$record,$tagslib,$field_number,$tabloop) = @_; my $function_name= $field_number; - # find today's date my $org = C4::Context->preference('MARCOrgCode'); my $res = " "; -return ($function_name,$res); + return ($function_name,$res); } diff --git a/cataloguing/value_builder/marc21_field_245h.pl b/cataloguing/value_builder/marc21_field_245h.pl index 8d4b3564f3..1912c4cc46 100755 --- a/cataloguing/value_builder/marc21_field_245h.pl +++ b/cataloguing/value_builder/marc21_field_245h.pl @@ -1,6 +1,5 @@ #!/usr/bin/perl - # Copyright 2009 Kyle Hall # # This file is part of Koha. @@ -44,5 +43,5 @@ function Blur$function_name(index) { //]]> "; -return ($function_name,$res); + return ($function_name,$res); } diff --git a/cataloguing/value_builder/marc21_linking_section.pl b/cataloguing/value_builder/marc21_linking_section.pl index 723840f8c1..f53ed2a9b8 100644 --- a/cataloguing/value_builder/marc21_linking_section.pl +++ b/cataloguing/value_builder/marc21_linking_section.pl @@ -49,19 +49,14 @@ sub plugin_javascript { return ( $function_name, $res ); } -# sub plugin -# -# input arg : -# -- op could be equals to -# * fillinput : -# * do_search : -# - sub plugin { - my ($input) = @_; + my ($query) = @_; my $dbh = C4::Context->dbh; - my $query = new CGI; my $op = $query->param('op'); + # -- op could be equal to + # * fillinput + # * do_search + my $type = $query->param('type'); my $startfrom = $query->param('startfrom'); $startfrom = 0 if ( !defined $startfrom );