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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
bugzilla
Commits
158ad973
Commit
158ad973
authored
Feb 05, 2003
by
burnus%gmx.de
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug 191087 - process_bug.cgi: "Mid-air collision!" title when not allowed to change a field
r=gerv, a=justdave
parent
5581985d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
process_bug.cgi
process_bug.cgi
+1
-1
user-error.html.tmpl
template/en/default/global/user-error.html.tmpl
+1
-0
No files found.
process_bug.cgi
View file @
158ad973
...
...
@@ -1108,7 +1108,7 @@ foreach my $id (@idlist) {
if
(
!
CheckCanChangeField
(
$col
,
$id
,
$oldvalues
[
$i
],
$::FORM
{
$col
}))
{
# More fun hacking... don't display component_id
if
(
$col
eq
'component_id'
)
{
$vars
->
{
'oldvalue'
}
=
get_component_name
(
$
product_id
,
$
oldhash
{
'component_id'
});
$vars
->
{
'oldvalue'
}
=
get_component_name
(
$oldhash
{
'component_id'
});
$vars
->
{
'newvalue'
}
=
$::FORM
{
'component'
};
$vars
->
{
'field'
}
=
'component'
;
}
...
...
template/en/default/global/user-error.html.tmpl
View file @
158ad973
...
...
@@ -213,6 +213,7 @@
0 and 1.
[% ELSIF error == "illegal_change" %]
[% title = "Not allowed" %]
You tried to change the <strong>[% field %]</strong> field
from <em>[% oldvalue FILTER html %]</em> to
<em>[% newvalue FILTER html %]</em>,
...
...
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