aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/discussions.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-08 14:02:43 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-08 14:02:43 +0000
commit6292a156060339a4794c6feec42f53302b777aed (patch)
tree3b0cfaa1e4ba479999219ad2d4d53f01e73b30bf /mod/groups/discussions.php
parentb8d90e7907f0790d4811fe7a617488d54664721c (diff)
downloadelgg-6292a156060339a4794c6feec42f53302b777aed.tar.gz
elgg-6292a156060339a4794c6feec42f53302b777aed.tar.bz2
Removing some wsod issues
git-svn-id: https://code.elgg.org/elgg/trunk@1794 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/discussions.php')
-rw-r--r--mod/groups/discussions.php4
1 files changed, 2 insertions, 2 deletions
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