diff options
-rwxr-xr-x | Bug.pm | 2 | ||||
-rwxr-xr-x | Bugzilla/Bug.pm | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -140,7 +140,7 @@ sub initBug { reporter, bug_file_loc, short_desc, target_milestone, qa_contact, status_whiteboard, DATE_FORMAT(creation_ts,'%Y.%m.%d %H:%i'), - delta_ts, sum(votes.vote_count), + delta_ts, ifnull(sum(votes.vote_count),0), reporter_accessible, cclist_accessible, estimated_time, remaining_time from bugs left join votes using(bug_id), diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 750fd8186..94bd628e2 100755 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -140,7 +140,7 @@ sub initBug { reporter, bug_file_loc, short_desc, target_milestone, qa_contact, status_whiteboard, DATE_FORMAT(creation_ts,'%Y.%m.%d %H:%i'), - delta_ts, sum(votes.vote_count), + delta_ts, ifnull(sum(votes.vote_count),0), reporter_accessible, cclist_accessible, estimated_time, remaining_time from bugs left join votes using(bug_id), |