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

This commit is contained in:
lpsolit%gmail.com 2006-08-08 20:45:12 +00:00
Родитель a079ad48c7
Коммит a9b14a160c
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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);