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
42183949
Commit
42183949
authored
Feb 27, 2005
by
mkanat%kerio.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 283019: Stop Bugzilla::Config.pm from use-ing Bugzilla::Util
Patch By Marc Schumann <wurblzap@gmail.com> r=LpSolit, a=myk
parent
518c6ffa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
Config.pm
Bugzilla/Config.pm
+2
-4
No files found.
Bugzilla/Config.pm
View file @
42183949
...
...
@@ -33,8 +33,6 @@ use strict;
use
base
qw(Exporter)
;
use
Bugzilla::
Util
;
# Under mod_perl, get this from a .htaccess config variable,
# and/or default from the current 'real' dir
# At some stage after this, it may be possible for these dir locations
...
...
@@ -307,7 +305,7 @@ sub check_multi {
my
(
$value
,
$param
)
=
(
@_
);
if
(
$param
->
{
'type'
}
eq
"s"
)
{
unless
(
lsearch
(
$param
->
{
'choices'
},
$value
)
>=
0
)
{
unless
(
scalar
(
grep
{
$_
eq
$value
}
(
@
{
$param
->
{
'choices'
}}))
)
{
return
"Invalid choice '$value' for single-select list param '$param'"
;
}
...
...
@@ -315,7 +313,7 @@ sub check_multi {
}
elsif
(
$param
->
{
'type'
}
eq
"m"
)
{
foreach
my
$chkParam
(
@$value
)
{
unless
(
lsearch
(
$param
->
{
'choices'
},
$chkParam
)
>=
0
)
{
unless
(
scalar
(
grep
{
$_
eq
$chkParam
}
(
@
{
$param
->
{
'choices'
}}))
)
{
return
"Invalid choice '$chkParam' for multi-select list param '$param'"
;
}
}
...
...
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