[Koha-bugs] [Bug 17982] Fix the use of uniq in sub themelanguage
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Feb 1 03:17:14 CET 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17982
--- Comment #4 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 59630
--> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=59630
Bug 17982: Fix the use of uniq in sub themelanguage
Review of attachment 59630:
--> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=17982&attachment=59630)
-----------------------------------------------------------------
::: C4/Templates.pm
@@ +256,4 @@
> my $where = $tmpl =~ /xsl$/ ? 'xslt' : 'modules';
> for my $theme (@themes) {
> if ( -e "$htdocs/$theme/$lang/$where/$tmpl" ) {
> + return ( $theme, $lang, [ uniq(@themes) ] );
I'm not sure the parenthesis for uniq are necessary.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list