aboutsummaryrefslogtreecommitdiff
path: root/mod/thewire/index.php
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-30 22:04:16 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-30 22:04:16 +0000
commit42d890455ae7b6a61a566d174f9980b8faee782f (patch)
treef5da4e9c5cb9e2656dbbde06ba35dd9dc4d333d4 /mod/thewire/index.php
parentba5681722bbb3df247cda8eb3f64c7e040e5bf00 (diff)
downloadelgg-42d890455ae7b6a61a566d174f9980b8faee782f.tar.gz
elgg-42d890455ae7b6a61a566d174f9980b8faee782f.tar.bz2
Replaced $_SESSION['id'] and $_SESSION['guid'] with get_loggedin_userid()
git-svn-id: http://code.elgg.org/elgg/trunk@7143 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/thewire/index.php')
-rw-r--r--mod/thewire/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/thewire/index.php b/mod/thewire/index.php
index a0bc1757d..61eb9ef4a 100644
--- a/mod/thewire/index.php
+++ b/mod/thewire/index.php
@@ -17,7 +17,7 @@
}
// title
- if (elgg_get_page_owner_guid() == $_SESSION['guid']) {
+ if (elgg_get_page_owner_guid() == get_loggedin_userid()) {
$area2 = elgg_view_title(elgg_echo("thewire:read"));
} else {
$area2 = elgg_view_title(sprintf(elgg_echo("thewire:user"),$page_owner->name));