From 765298afc1a12454a0f3d77646e84e262b97b9c1 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Thu, 8 Sep 2016 11:35:11 +0000 Subject: [PATCH] changed the issue show view to show the change log creator as well as updator --- codepot/src/codepot/views/issue_show.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/codepot/src/codepot/views/issue_show.php b/codepot/src/codepot/views/issue_show.php index fe33147d..a350e0d2 100644 --- a/codepot/src/codepot/views/issue_show.php +++ b/codepot/src/codepot/views/issue_show.php @@ -1131,7 +1131,10 @@ function print_issue_state ($con, $issue, $old, $issue_type_array, $issue_status print '
'; //$user_icon_url = codepot_merge_path (site_url(), '/user/icon/' . $this->converter->AsciiToHex($new->updatedby)); //print " "; - print htmlspecialchars($new->updatedby); + if (strcmp($new->updatedby, $new->createdby) == 0) + printf ('%s', htmlspecialchars($new->updatedby)); + else + printf ('%s (%s)', htmlspecialchars($new->updatedby), htmlspecialchars($new->createdby)); print '
'; print '
';