]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 467324: PROJECT specific template directorywas being ignored
authormkanat%bugzilla.org <>
Sat, 6 Dec 2008 19:51:03 +0000 (19:51 +0000)
committermkanat%bugzilla.org <>
Sat, 6 Dec 2008 19:51:03 +0000 (19:51 +0000)
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit

Bugzilla/Install/Util.pm

index 4c37549646bc98d35f80e010c076cc7f07075227..931744c1c186e6e753b3e1ce08ceea1d12b8018a 100644 (file)
@@ -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) {