From 9934230ad8166af6f60f15c0afa6a1cac8896b51 Mon Sep 17 00:00:00 2001 From: Marcus Dalgren Date: Fri, 17 Jan 2014 15:27:12 +0100 Subject: [PATCH] Fix Session::set_cookie_domain --- control/Session.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control/Session.php b/control/Session.php index 0610d4fb1..5940e92aa 100644 --- a/control/Session.php +++ b/control/Session.php @@ -169,7 +169,7 @@ class Session { */ public static function set_cookie_domain($domain) { Deprecation::notice('3.2', 'Use the "Session.cookie_domain" config setting instead'); - Config::inst()->update('Session', 'cookie_domain', $age); + Config::inst()->update('Session', 'cookie_domain', $domain); } /**