From 5be8bf81175f91b8a74c182e703cf01c38123dc5 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 8 Jan 2006 07:32:04 +0000 Subject: [PATCH] r694: Explicating debug warnings --- showreport.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/showreport.php b/showreport.php index ad5c8f2..3b0db62 100644 --- a/showreport.php +++ b/showreport.php @@ -290,9 +290,9 @@ while ($comment = $db->fetch_array($comments_fetch)) $comment['postby'] = construct_user_display($comment); $show['editcomment'] = ((can_perform('caneditownreply', $bug['productid']) AND $bugsys->userinfo['userid'] == $comment['userid']) OR (can_perform('caneditotherreply', $bug['productid']) AND $bugsys->userinfo['userid'] != $comment['userid'])); - $bugsys->debug((int)(can_perform('caneditownreply', $bug['productid']) AND $bugsys->userinfo['userid'] == $comment['userid'])); - $bugsys->debug((int)(can_perform('caneditotherreply', $bug['productid']) AND $bugsys->userinfo['userid'] != $comment['userid'])); - $bugsys->debug($show['editcomment']); + $bugsys->debug('can edit own replies: ' . (int)(can_perform('caneditownreply', $bug['productid']) AND $bugsys->userinfo['userid'] == $comment['userid'])); + $bugsys->debug('can edit other replies:' . (int)(can_perform('caneditotherreply', $bug['productid']) AND $bugsys->userinfo['userid'] != $comment['userid'])); + $bugsys->debug('$show[editcomment]: ' . $show['editcomment']); if (is_array($hilight)) { -- 2.43.5