summaryrefslogtreecommitdiff
path: root/modules_v3/individuals/module.php
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2012-05-26 17:22:40 +0000
committerfisharebest <fisharebest@gmail.com>2012-05-26 17:22:40 +0000
commit332898366932e52df18c2fbf817f00e657fb0f57 (patch)
treed25a82520a37135a2ac97f6d77b383180451fb41 /modules_v3/individuals/module.php
parent007a7d2de7b0939e48fa701d2bcc1d19443cb26b (diff)
downloadwebtrees-332898366932e52df18c2fbf817f00e657fb0f57.tar.gz
webtrees-332898366932e52df18c2fbf817f00e657fb0f57.tar.bz2
webtrees-332898366932e52df18c2fbf817f00e657fb0f57.zip
Need to explicitly close sessions for AJAX responses. TODO we should really do this via the WT_Ajax_Controller (or a new WT_Json_Controller)
Diffstat (limited to 'modules_v3/individuals/module.php')
-rw-r--r--modules_v3/individuals/module.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules_v3/individuals/module.php b/modules_v3/individuals/module.php
index 3f55de9d62..d72a316d80 100644
--- a/modules_v3/individuals/module.php
+++ b/modules_v3/individuals/module.php
@@ -43,6 +43,7 @@ class individuals_WT_Module extends WT_Module implements WT_Module_Sidebar {
public function modAction($modAction) {
switch ($modAction) {
case 'ajax':
+ Zend_Session::writeClose();
header('Content-Type: text/html; charset=UTF-8');
echo $this->getSidebarAjaxContent();
break;