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
c36e53d3
Commit
c36e53d3
authored
Oct 10, 2007
by
lpsolit%gmail.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Additional fix for bug 313129: Bugzilla::Milestone->_check_name() incorrectly…
Additional fix for bug 313129: Bugzilla::Milestone->_check_name() incorrectly trims the milestone name
parent
997030e2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Milestone.pm
Bugzilla/Milestone.pm
+2
-1
No files found.
Bugzilla/Milestone.pm
View file @
c36e53d3
...
...
@@ -167,7 +167,8 @@ sub remove_from_db {
sub
_check_value
{
my
(
$invocant
,
$name
,
$product
)
=
@_
;
trim
(
$name
)
||
ThrowUserError
(
'milestone_blank_name'
);
$name
=
trim
(
$name
);
$name
||
ThrowUserError
(
'milestone_blank_name'
);
if
(
length
(
$name
)
>
MAX_MILESTONE_SIZE
)
{
ThrowUserError
(
'milestone_name_too_long'
,
{
name
=>
$name
});
}
...
...
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