[Koha-bugs] [Bug 12061] tmpl_process3.pl new features

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jun 6 16:51:26 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12061

--- Comment #20 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Comment on attachment 28645
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=28645
Bug 12061 - tmpl_process3.pl - Include/exclude file by name

Review of attachment 28645:
 --> (http://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=12061&attachment=28645)
-----------------------------------------------------------------

::: misc/translator/tmpl_process3.pl
@@ +134,5 @@
>  
>  sub listfiles {
> +    my($dir, $type, $action) = @_;
> +    my $filenames   = join ('|', @filenames);
> +    my $nofilenames = join ('|', @nofilenames);

Don't you think it is better to pass filenames and nofilenames in parameter
rather than using global vars?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list