From: mkanat%bugzilla.org <> Date: Sat, 6 Dec 2008 19:51:03 +0000 (+0000) Subject: Bug 467324: PROJECT specific template directorywas being ignored X-Git-Tag: bugzilla-3.2.1~39 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6901ebfaa60ac2cfb3f9639b1bc5951e553363fd;p=thirdparty%2Fbugzilla.git Bug 467324: PROJECT specific template directorywas 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) {