From: mkanat%bugzilla.org <> Date: Sat, 6 Dec 2008 19:49:58 +0000 (+0000) Subject: Bug 467324: PROJECT specific template directory was being ignored X-Git-Tag: bugzilla-3.3.1~55 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8dcce4b0d32e6f046a2311a4be4715100b42d90;p=thirdparty%2Fbugzilla.git Bug 467324: PROJECT specific template directory was being ignored Patch By Max Kanat-Alexander r=LpSolit, a=LpSolit --- diff --git a/Bugzilla/Install/Util.pm b/Bugzilla/Install/Util.pm index 4c37549646..931744c1c1 100644 --- a/Bugzilla/Install/Util.pm +++ b/Bugzilla/Install/Util.pm @@ -265,7 +265,7 @@ sub _add_language_set { my @add = ("$templatedir/$lang/custom", "$templatedir/$lang/default"); my $project = bz_locations->{'project'}; - push(@add, "$templatedir/$lang/$project") if $project; + unshift(@add, "$templatedir/$lang/$project") if $project; foreach my $dir (@add) { #if (-d $dir) {