From 6b8fe9de34a6f4a218ebaa647b58c21040780057 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 20 May 2007 01:58:09 +0000 Subject: [PATCH] r1544: Adding an 'assignedto' formatter in ProcessBugDataForDisplay() --- includes/functions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/functions.php b/includes/functions.php index cfe70a4..b3f7a71 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -675,6 +675,7 @@ function ProcessBugDataForDisplay($bug, $color = '') $bug['resolution'] = $bugsys->datastore['resolution']["$bug[resolution]"]['resolution']; $bug['priority'] = $bugsys->datastore['priority']["$bug[priority]"]['priority']; $bug['severity'] = $bugsys->datastore['severity']["$bug[severity]"]['severity']; + $bug['assignedto'] = ((empty($bug['assignedto']) OR !isset($bugsys->datastore['assignto']["$bug[assignedto]"])) ? '' : construct_user_display($bugsys->datastore['assignto']["$bug[assignedto]"])); $bug['lastposttime'] = ($bug['hiddendisplay'] ? $bug['hiddenlastposttime'] : $bug['lastposttime']); $bug['lastpost'] = ($bug['hiddendisplay'] ? $bug['hiddenlastpostbyname'] : $bug['lastpostbyname']); -- 2.22.5