Bug 10715 - MARC21 007 Plugin Editor doesn't load position 01
[koha.git] / cataloguing / value_builder / marc21_field_007.pl
index 240e4d6..74e559d 100755 (executable)
@@ -27,7 +27,7 @@ use C4::Context;
 use C4::Search;
 use C4::Output;
 
-=head1
+=head1 DESCRIPTION
 
 plugin_parameters : other parameters added when the plugin is called by the dopop function
 
@@ -82,7 +82,7 @@ my ($template, $loggedinuser, $cookie)
                             });
        $result = "ta" unless $result;
        my $f0 = substr($result,0,1);
-       my $f1 = substr($result,1,4);
+     my $f1 = substr($result,1,1);
 #added new parameters to allow for all material types
        my $f2 = substr($result,2,1);
        my $f3 = substr($result,3,1);