Skip to content
Snippets Groups Projects
Commit d6fe00e6 authored by Jared Hancock's avatar Jared Hancock
Browse files

oops: Fix incorrectly placed header line

parent 5c491ecb
No related branches found
No related tags found
No related merge requests found
...@@ -67,6 +67,7 @@ ...@@ -67,6 +67,7 @@
</div> </div>
<div id="pjax-container" class="<?php if ($_POST) echo 'no-pjax'; ?>"> <div id="pjax-container" class="<?php if ($_POST) echo 'no-pjax'; ?>">
<?php } else { <?php } else {
header('X-PJAX-Version: ' . GIT_VERSION);
if ($pjax = $ost->getExtraPjax()) { ?> if ($pjax = $ost->getExtraPjax()) { ?>
<script type="text/javascript"> <script type="text/javascript">
<?php foreach (array_filter($pjax) as $s) echo $s.";"; ?> <?php foreach (array_filter($pjax) as $s) echo $s.";"; ?>
...@@ -77,7 +78,6 @@ ...@@ -77,7 +78,6 @@
echo $h; echo $h;
} ?> } ?>
<title><?php echo ($ost && ($title=$ost->getPageTitle()))?$title:'osTicket :: Staff Control Panel'; ?></title><?php <title><?php echo ($ost && ($title=$ost->getPageTitle()))?$title:'osTicket :: Staff Control Panel'; ?></title><?php
header('X-PJAX-Version: ' . GIT_VERSION);
} # endif X_PJAX ?> } # endif X_PJAX ?>
<ul id="nav"> <ul id="nav">
<?php include STAFFINC_DIR . "templates/navigation.tmpl.php"; ?> <?php include STAFFINC_DIR . "templates/navigation.tmpl.php"; ?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment