From 5c0d9921346b2aa23a352a960b58a907bbf84a29 Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Thu, 11 Jul 2013 15:58:30 +0200 Subject: [PATCH] fixing smarty cache key generation --- public/include/smarty.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/include/smarty.inc.php b/public/include/smarty.inc.php index ac05814e..f95180d7 100644 --- a/public/include/smarty.inc.php +++ b/public/include/smarty.inc.php @@ -26,6 +26,6 @@ if ($config['smarty']['cache']) { $smarty->cache_lifetime = $config['smarty']['cache_lifetime']; $smarty->cache_dir = BASEPATH . "templates/cache"; $smarty->use_sub_dirs = true; - $smarty_cache_key = md5(serialize($_REQUEST . @$_SESSION['USERDATA']['id'])); + $smarty_cache_key = md5(serialize($_REQUEST) . serialize(@$_SESSION['USERDATA']['id'])); } ?>