diff --git a/value_builder/unimarc_field_123f.pl b/value_builder/unimarc_field_123f.pl index 92846e2465..637afdf415 100755 --- a/value_builder/unimarc_field_123f.pl +++ b/value_builder/unimarc_field_123f.pl @@ -39,7 +39,7 @@ return ""; sub plugin_javascript { my ($dbh,$record,$tagslib,$field_number,$tabloop) = @_; -my $function_name= "123g".(int(rand(100000))+1); +my $function_name= "123f".(int(rand(100000))+1); my $res=" @@ -72,7 +72,7 @@ my ($input) = @_; my $dbh = C4::Context->dbh; my ($template, $loggedinuser, $cookie) - = get_template_and_user({template_name => "value_builder/unimarc_field_123g.tmpl", + = get_template_and_user({template_name => "value_builder/unimarc_field_123f.tmpl", query => $input, type => "intranet", authnotrequired => 0,