summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2008-12-06 20:49:58 +0100
committermkanat%bugzilla.org <>2008-12-06 20:49:58 +0100
commitb8dcce4b0d32e6f046a2311a4be4715100b42d90 (patch)
treeccf02dd26d58ab2fd44be91f066373d5f51da9dc /Bugzilla
parent6b3c956505ae68b51e55af9bdba3c4e17c2a4c87 (diff)
downloadbugzilla-b8dcce4b0d32e6f046a2311a4be4715100b42d90.tar.gz
bugzilla-b8dcce4b0d32e6f046a2311a4be4715100b42d90.tar.xz
Bug 467324: PROJECT specific template directory was being ignored
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Install/Util.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Install/Util.pm b/Bugzilla/Install/Util.pm
index 4c3754964..931744c1c 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) {