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
9b837ad9
Commit
9b837ad9
authored
Mar 17, 2005
by
mkanat%kerio.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 286501: Summarize time fails with "Can't bind reference" error
Patch By Tomas Kopal <Tomas.Kopal@altap.cz> r=mkanat, a=justdave
parent
8bb3cb2a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
Bug.pm
Bugzilla/Bug.pm
+2
-1
summarize_time.cgi
summarize_time.cgi
+5
-5
No files found.
Bugzilla/Bug.pm
View file @
9b837ad9
...
...
@@ -643,7 +643,8 @@ sub AppendComment ($$$;$$$) {
$dbh
->
do
(
"UPDATE bugs SET delta_ts = ? WHERE bug_id = ?"
,
undef
,
$timestamp
,
$bugid
);
}
# This method is private and is not to be used outside of the Bug class.
sub
EmitDependList
{
my
(
$myfield
,
$targetfield
,
$bug_id
)
=
(
@_
);
my
$dbh
=
Bugzilla
->
dbh
;
...
...
summarize_time.cgi
View file @
9b837ad9
...
...
@@ -203,10 +203,10 @@ sub get_blocker_ids_unique {
}
sub
get_blocker_ids_deep
{
my
(
$bug_id
,
$ret
)
=
@_
;
my
@
deps
=
Bugzilla::Bug::
EmitDependList
(
"blocked"
,
"dependson"
,
$bug_id
);
push
@
{
$ret
},
@deps
;
foreach
$bug_id
(
@
deps
)
{
my
(
$bug_id
,
$ret
)
=
@_
;
my
$
deps
=
Bugzilla::Bug::
EmitDependList
(
"blocked"
,
"dependson"
,
$bug_id
);
push
@
{
$ret
},
@
$
deps
;
foreach
$bug_id
(
@
$deps
)
{
get_blocker_ids_deep
(
$bug_id
,
$ret
);
}
}
...
...
@@ -238,7 +238,7 @@ sub query_work_by_buglist {
bugs.bug_id = longdescs.bug_id
$date_bits }
.
$dbh
->
sql_group_by
(
'longdescs.bug_id, profiles.login_name'
,
'bugs.short_desc, bugs.bug_status
'
)
.
qq{
'bugs.short_desc, bugs.bug_status, longdescs.bug_when
'
)
.
qq{
ORDER BY longdescs.bug_when}
;
my
$sth
=
$dbh
->
prepare
(
$q
);
$sth
->
execute
(
@
{
$date_values
});
...
...
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