From a4a7eed422a049e13230c784b8dae1d38a6daec5 Mon Sep 17 00:00:00 2001
From: Jared Hancock <jared@osticket.com>
Date: Tue, 29 Apr 2014 13:39:34 -0500
Subject: [PATCH] notes: Always show notes tab in user popup

---
 include/staff/templates/user.tmpl.php | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/include/staff/templates/user.tmpl.php b/include/staff/templates/user.tmpl.php
index 2a816a351..4776bf4a3 100644
--- a/include/staff/templates/user.tmpl.php
+++ b/include/staff/templates/user.tmpl.php
@@ -41,10 +41,9 @@ if ($info['error']) {
         ><i class="icon-fixed-width icon-building"></i>&nbsp;Organization</a></li>
 <?php }
     $ext_id = "U".$user->getId();
-    if (($notes = QuickNote::forUser($user, $org)->all())) { ?>
+    $notes = QuickNote::forUser($user, $org)->all(); ?>
     <li><a href="#notes-tab"
         ><i class="icon-fixed-width icon-pushpin"></i>&nbsp;Notes</a></li>
-<?php } ?>
 </ul>
 
 <div class="tab_content" id="info-tab">
-- 
GitLab