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
c0c052e3
Commit
c0c052e3
authored
Nov 18, 2009
by
reed%reedloden.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 360626 - "ThrowTemplateError() used in Util.pm" [p=reed r=LpSolit a=LpSolit]
parent
c3191f69
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
Util.pm
Bugzilla/Util.pm
+4
-2
No files found.
Bugzilla/Util.pm
View file @
c0c052e3
...
@@ -593,8 +593,10 @@ sub get_text {
...
@@ -593,8 +593,10 @@ sub get_text {
$vars
||=
{};
$vars
||=
{};
$vars
->
{
'message'
}
=
$name
;
$vars
->
{
'message'
}
=
$name
;
my
$message
;
my
$message
;
$template
->
process
(
'global/message.txt.tmpl'
,
$vars
,
\
$message
)
if
(
!
$template
->
process
(
'global/message.txt.tmpl'
,
$vars
,
\
$message
))
{
||
ThrowTemplateError
(
$template
->
error
());
require
Bugzilla::
Error
;
Bugzilla::Error::
ThrowTemplateError
(
$template
->
error
());
}
# Remove the indenting that exists in messages.html.tmpl.
# Remove the indenting that exists in messages.html.tmpl.
$message
=~
s/^ //gm
;
$message
=~
s/^ //gm
;
return
$message
;
return
$message
;
...
...
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