From f3a07ccae1a551bacf51aaab481a310be7657527 Mon Sep 17 00:00:00 2001
From: Jared Hancock <jared@osticket.com>
Date: Tue, 16 Dec 2014 14:15:38 -0600
Subject: [PATCH] i18n: Oops hide erroneous "published" status for internal
 FAQs

---
 include/staff/faq-view.inc.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/staff/faq-view.inc.php b/include/staff/faq-view.inc.php
index 0c8824722..850532230 100644
--- a/include/staff/faq-view.inc.php
+++ b/include/staff/faq-view.inc.php
@@ -11,7 +11,7 @@ $category=$faq->getCategory();
     <span class="faded">(<?php echo $category->isPublic()?__('Public'):__('Internal'); ?>)</span>
 </div>
 <div class="pull-left" style="width:700px;padding-top:2px;">
-<strong style="font-size:16px;"><?php echo $faq->getQuestion() ?></strong>&nbsp;&nbsp;<span class="faded"><?php echo '('.$faq->isPublished()?__('Published').')':''; ?></span>
+<strong style="font-size:16px;"><?php echo $faq->getQuestion() ?></strong>&nbsp;&nbsp;<span class="faded"><?php echo $faq->isPublished() ? ('('.__('Published').')'):''; ?></span>
 </div>
 <div class="pull-right flush-right" style="padding-top:5px;padding-right:5px;">
 <?php
-- 
GitLab