From 1d67768430954b53d347c76071ea892ada3a6b43 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 3 Jun 2006 20:27:35 +0000 Subject: [PATCH] r863: Move the call to process_custom_fields() so logging still works --- editreport.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/editreport.php b/editreport.php index 9fe2fe1..cf1e31b 100644 --- a/editreport.php +++ b/editreport.php @@ -110,8 +110,6 @@ if ($_POST['do'] == 'update') // do update stuff $pcv = parse_pcv_select($bugsys->in['pcv_select'], true); - process_custom_fields($bug['bugid']); - $dependencies = preg_split('#([^0-9].*?)#', $bugsys->in['dependency'], -1, PREG_SPLIT_NO_EMPTY); $dependencies = ((count($dependencies) < 1) ? '' : implode(', ', $dependencies)); @@ -186,6 +184,8 @@ if ($_POST['do'] == 'update') $log->add_data(false, $bugapi->values, $bugfields); + process_custom_fields($bug['bugid']); + $bugapi->update(); // ------------------------------------------------------------------- @@ -196,7 +196,7 @@ if ($_POST['do'] == 'update') $log->update_history(); - $notif->send_bug_changes_notice($bugapi->objdata, $bugapi->values); + $notif->send_bug_changes_notice($, $bugapi->values); print_r($notif); -- 2.22.5