diff options
author | lpsolit%gmail.com <> | 2006-08-09 05:45:12 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-08-09 05:45:12 +0200 |
commit | 518a0167e08fceefbbc868a0380f80a71c6682cf (patch) | |
tree | 57e5e9765c04509a23f507f9b7a8366dc97bcba7 | |
parent | ab61cd7a33c69493babc445b3b8a8bbd8b7c08f5 (diff) | |
download | bugzilla-518a0167e08fceefbbc868a0380f80a71c6682cf.tar.gz bugzilla-518a0167e08fceefbbc868a0380f80a71c6682cf.tar.xz |
Bug 347817: [PostgreSQL] Cannot create a new bug object when custom fields exist - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=justdave
-rwxr-xr-x | Bugzilla/Bug.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 60e9cb1f8..afc125457 100755 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -153,14 +153,14 @@ sub initBug { INNER JOIN classifications ON classifications.id = products.classification_id WHERE bugs.bug_id = ? " . - $dbh->sql_group_by('bugs.bug_id', 'alias, products.classification_id, + $dbh->sql_group_by('bugs.bug_id', "alias, products.classification_id, classifications.name, bugs.product_id, products.name, version, rep_platform, op_sys, bug_status, resolution, priority, bug_severity, bugs.component_id, components.name, assigned_to, reporter, bug_file_loc, short_desc, target_milestone, qa_contact, status_whiteboard, everconfirmed, creation_ts, delta_ts, reporter_accessible, cclist_accessible, - estimated_time, remaining_time, deadline'); + estimated_time, remaining_time, deadline $custom_fields"); my $bug_sth = $dbh->prepare($query); $bug_sth->execute($bug_id); |