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
7f892832
Commit
7f892832
authored
Oct 17, 2003
by
justdave%syndicomm.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backing out patch from bug 108528 - failed to take i10n concerns into account
parent
61ce0b2c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
12 deletions
+6
-12
CGI.pl
CGI.pl
+1
-2
process_bug.cgi
process_bug.cgi
+4
-4
code-error.html.tmpl
template/en/default/global/code-error.html.tmpl
+1
-6
No files found.
CGI.pl
View file @
7f892832
...
...
@@ -111,11 +111,10 @@ sub CheckFormField (\%$;\@) {
sub
CheckFormFieldDefined
(\%$) {
my
(
$formRef
,
# a reference to the form to check (a hash)
$fieldname
,
# the fieldname to check
$info
,
# (optional) error message to give
)
=
@_
;
if
(
!
defined
$formRef
->
{
$fieldname
})
{
ThrowCodeError
(
"undefined_field"
,
{
field
=>
$fieldname
,
info
=>
$info
});
ThrowCodeError
(
"undefined_field"
,
{
field
=>
$fieldname
});
}
}
...
...
process_bug.cgi
View file @
7f892832
...
...
@@ -842,15 +842,15 @@ if (defined $::FORM{newcc} || defined $::FORM{removecc} || defined $::FORM{massc
}
if
(
$cc_add
)
{
$cc_add
=~
s/
[\s,]+/ /g
;
# Change all delimiters to a single space
foreach
my
$person
(
split
(
" "
,
$cc_add
)
)
{
$cc_add
=~
s/
^[\s,]+//
;
# Remove leading delimiters.
foreach
my
$person
(
split
(
/[\s,]+/
,
$cc_add
)
)
{
my
$pid
=
DBNameToIdAndCheck
(
$person
);
$cc_add
{
$pid
}
=
$person
;
}
}
if
(
$cc_remove
)
{
$cc_remove
=~
s/
[\s,]+/ /g
;
# Change all delimiters to a single space
foreach
my
$person
(
split
(
" "
,
$cc_remove
)
)
{
$cc_remove
=~
s/
^[\s,]+//
;
# Remove leading delimiters.
foreach
my
$person
(
split
(
/[\s,]+/
,
$cc_remove
)
)
{
my
$pid
=
DBNameToIdAndCheck
(
$person
);
$cc_remove
{
$pid
}
=
$person
;
}
...
...
template/en/default/global/code-error.html.tmpl
View file @
7f892832
...
...
@@ -208,12 +208,7 @@
I was unable to retrieve your old password from the database.
[% ELSIF error == "undefined_field" %]
[% field FILTER html %] was not defined;
[% IF info %]
[% info FILTER html %]
[% ELSE %]
[% Param('browserbugmessage') %]
[% END %]
[% field FILTER html %] was not defined; [% Param('browserbugmessage') %]
[% ELSIF error == "unknown_action" %]
[% IF action %]
...
...
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