From 06c38fa56c3c09220c40fb8cd621230694b333d6 Mon Sep 17 00:00:00 2001
From: Jared Hancock <jared@osticket.com>
Date: Tue, 7 Oct 2014 09:38:05 -0500
Subject: [PATCH] pjax: Fix placement of footer

Footer should not be in #pjax_container, because the footer is not rendered
for non PJAX requests.
---
 include/staff/footer.inc.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/staff/footer.inc.php b/include/staff/footer.inc.php
index 8a6fc6852..12c9b034d 100644
--- a/include/staff/footer.inc.php
+++ b/include/staff/footer.inc.php
@@ -1,5 +1,6 @@
+</div>
+</div>
 <?php if (!isset($_SERVER['HTTP_X_PJAX'])) { ?>
-    </div>
     <div id="footer">
         Copyright &copy; 2006-<?php echo date('Y'); ?>&nbsp;<?php echo (string) $ost->company ?: 'osTicket.com'; ?>&nbsp;All Rights Reserved.
     </div>
@@ -13,7 +14,6 @@ if(is_object($thisstaff) && $thisstaff->isStaff()) { ?>
 <?php
 } ?>
 </div>
-</div>
 <div id="overlay"></div>
 <div id="loading">
     <i class="icon-spinner icon-spin icon-3x pull-left icon-light"></i>
-- 
GitLab