summaryrefslogtreecommitdiff
path: root/includes/functions/functions_print.php
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2010-09-21 19:24:23 +0000
committerfisharebest <fisharebest@gmail.com>2010-09-21 19:24:23 +0000
commit2314e103a0dd5e6cfa16debc20f7969b62905984 (patch)
treee717ff579937c6f2c418038ba920c322a990ae9d /includes/functions/functions_print.php
parent391b14252cf1c4257123fa6b6410920c4bd3e3e2 (diff)
downloadwebtrees-2314e103a0dd5e6cfa16debc20f7969b62905984.tar.gz
webtrees-2314e103a0dd5e6cfa16debc20f7969b62905984.tar.bz2
webtrees-2314e103a0dd5e6cfa16debc20f7969b62905984.zip
Diffstat (limited to 'includes/functions/functions_print.php')
-rw-r--r--includes/functions/functions_print.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/functions/functions_print.php b/includes/functions/functions_print.php
index 04a50d43ae..a255d9ab39 100644
--- a/includes/functions/functions_print.php
+++ b/includes/functions/functions_print.php
@@ -410,8 +410,8 @@ function print_header($title, $head="", $use_alternate_styles=true) {
var themeName = "'.strtolower($theme_name).'";
var SCRIPT_NAME = "'.WT_SCRIPT_NAME.'";
/* keep the session id when opening new windows */
- var sessionid = "'.session_id().'";
- var sessionname = "'.session_name().'";
+ var sessionid = "'.Zend_Session::getId().'";
+ var sessionname = "'.WT_SESSION_NAME.'";
var accesstime = '.WT_DB::prepare("SELECT UNIX_TIMESTAMP(NOW())")->fetchOne().';
var plusminus = new Array();
plusminus[0] = new Image();