From 34fa73f17dcaa331c6dc05888e62b79c48cc73a1 Mon Sep 17 00:00:00 2001 From: Peter Rotich <peter@osticket.com> Date: Fri, 5 Oct 2012 10:02:41 -0400 Subject: [PATCH] Hide poster's name on canned responses --- include/client/view.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/client/view.inc.php b/include/client/view.inc.php index ccea4c927..fa8a5b4a5 100644 --- a/include/client/view.inc.php +++ b/include/client/view.inc.php @@ -65,7 +65,7 @@ if($ticket->getThreadCount() && ($thread=$ticket->getClientThread())) { //Making sure internal notes are not displayed due to backend MISTAKES! if(!$threadType[$entry['thread_type']]) continue; $poster = $entry['poster']; - if($entry['thread_type']=='R' && $cfg->hideStaffName()) + if($entry['thread_type']=='R' && ($cfg->hideStaffName() || !$entry['staff_id'])) $poster = ' '; ?> <table class="<?php echo $threadType[$entry['thread_type']]; ?>" cellspacing="0" cellpadding="1" width="800" border="0"> -- GitLab