From 6292a156060339a4794c6feec42f53302b777aed Mon Sep 17 00:00:00 2001 From: ben Date: Fri, 8 Aug 2008 14:02:43 +0000 Subject: Removing some wsod issues git-svn-id: https://code.elgg.org/elgg/trunk@1794 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/discussions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/groups/discussions.php') diff --git a/mod/groups/discussions.php b/mod/groups/discussions.php index 4fa1cb5ca..19821c3b3 100644 --- a/mod/groups/discussions.php +++ b/mod/groups/discussions.php @@ -15,11 +15,11 @@ // Load Elgg engine require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php"); - // Get the current page's owner + // Get the current page's owner $page_owner = page_owner_entity(); if ($page_owner === false || is_null($page_owner)) { $page_owner = $_SESSION['user']; - set_page_owner($page_owner->getGUID()); + set_page_owner($_SESSION['guid']); } // Display them -- cgit v1.2.3