From d6fe00e614e3919c26f8d7a705251c1641e25abe Mon Sep 17 00:00:00 2001 From: Jared Hancock <jared@osticket.com> Date: Thu, 14 Aug 2014 11:48:15 -0500 Subject: [PATCH] oops: Fix incorrectly placed header line --- include/staff/header.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/staff/header.inc.php b/include/staff/header.inc.php index 519213046..370a749a3 100644 --- a/include/staff/header.inc.php +++ b/include/staff/header.inc.php @@ -67,6 +67,7 @@ </div> <div id="pjax-container" class="<?php if ($_POST) echo 'no-pjax'; ?>"> <?php } else { + header('X-PJAX-Version: ' . GIT_VERSION); if ($pjax = $ost->getExtraPjax()) { ?> <script type="text/javascript"> <?php foreach (array_filter($pjax) as $s) echo $s.";"; ?> @@ -77,7 +78,6 @@ echo $h; } ?> <title><?php echo ($ost && ($title=$ost->getPageTitle()))?$title:'osTicket :: Staff Control Panel'; ?></title><?php - header('X-PJAX-Version: ' . GIT_VERSION); } # endif X_PJAX ?> <ul id="nav"> <?php include STAFFINC_DIR . "templates/navigation.tmpl.php"; ?> -- GitLab