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
7b471845
Commit
7b471845
authored
Aug 27, 1998
by
terry%netscape.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't choke if the user hits a space or something in the 'changed in
last ___ days' field.
parent
d2d547e3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
buglist.cgi
buglist.cgi
+11
-0
No files found.
buglist.cgi
View file @
7b471845
...
...
@@ -238,8 +238,19 @@ if {[info exists FORM(sql)]} {
}
if
{[
lookup FORM changedin
]
!=
""
}
{
set c
[
string
trim $FORM
(
changedin
)]
if
{
$c
!=
""
}
{
if
{
!
[
regexp
{
^
[
0-9
]
*$
}
$c
]}
{
puts
"
The 'changed in last ___ days' field must be a simple number. You entered
\"
$c
\"
, which doesn't cut it.
Click the Back button and try again."
exit
}
qadd
"and to_days(now()) - to_days(bugs.delta_ts) <=
$
FORM(changedin) "
}
}
}
if
{[
info
exists FORM
(
order
)]}
{
...
...
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