Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
878993fb
Commit
878993fb
authored
Aug 22, 2007
by
wurblzap%gmail.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 393148 â Template include path used by Bugzilla/Template.pm ordered wrongly.
Follow-up warning fix patch by Marc Schumann <wurblzap@gmail.com>; r=mkanat; a=mkanat
parent
f192744d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
Util.pm
Bugzilla/Install/Util.pm
+1
-1
Template.pm
Bugzilla/Template.pm
+1
-2
No files found.
Bugzilla/Install/Util.pm
View file @
878993fb
...
...
@@ -118,7 +118,7 @@ sub template_include_path {
# we support every language installed in the template/ directory.
my
@wanted
;
if
(
defined
$params
->
{
only_language
})
{
if
(
$params
->
{
only_language
})
{
@wanted
=
(
$params
->
{
only_language
});
}
else
{
...
...
Bugzilla/Template.pm
View file @
878993fb
...
...
@@ -85,11 +85,10 @@ sub _load_constants {
# Templates may also be found in the extensions/ tree
sub
getTemplateIncludePath
{
my
$cache
=
Bugzilla
->
request_cache
;
my
$lang
=
$cache
->
{
'language'
}
||
undef
;
my
$lang
=
$cache
->
{
'language'
}
||
''
;
$cache
->
{
"template_include_path_$lang"
}
||=
template_include_path
({
use_languages
=>
Bugzilla
->
languages
,
only_language
=>
$lang
});
$lang
||=
''
;
return
$cache
->
{
"template_include_path_$lang"
};
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment