From ace0396ada2fea2eb14a5afca4ae294105c6f373 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Thu, 22 Dec 2005 05:51:50 +0000 Subject: [PATCH] r658: Change comment logging fields --- editcomment.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/editcomment.php b/editcomment.php index 8d99099..f351b08 100644 --- a/editcomment.php +++ b/editcomment.php @@ -86,8 +86,8 @@ if ($_POST['do'] == 'update') $log = new History(); $log->bugid = $bug['bugid']; $log->commentid = $comment['commentid']; - $log->log($log->diff('text', $comment['comment_parsed'], nl2br($bugsys->in['comment_parsed']))); - $log->log($log->diff('hidden', $comment['hidden'], intval($bugsys->in['hidden']))); + $log->log($log->diff('comment ' . $comment['commentid'] . ' text', $comment['comment_parsed'], nl2br($bugsys->in['comment_parsed']))); + $log->log($log->diff('comment ' . $comment['commentid'] . ' hidden', $comment['hidden'], intval($bugsys->in['hidden']))); $lastgood = $db->query_first("SELECT * FROM " . TABLE_PREFIX . "comment WHERE bugid = $bug[bugid] AND !hidden ORDER BY dateline DESC"); $db->query(" -- 2.43.5