From ca08eb6d170d375ef4fca53604956f3474c7db19 Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 22 Aug 2010 22:37:30 +0000 Subject: Merged r6701:6756 from 1.7 branch into trunk git-svn-id: http://code.elgg.org/elgg/trunk@6849 36083f99-b078-4883-b0ff-0f9b5a30f544 --- actions/user/spotlight.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'actions/user/spotlight.php') diff --git a/actions/user/spotlight.php b/actions/user/spotlight.php index ff111461e..d0ebb2226 100644 --- a/actions/user/spotlight.php +++ b/actions/user/spotlight.php @@ -17,5 +17,6 @@ if ($closed != 'true') { $closed = true; } -$_SESSION['user']->spotlightclosed = $closed; +get_loggedin_user()->spotlightclosed = $closed; +// exit as this action is called through Ajax exit; \ No newline at end of file -- cgit v1.2.3