aboutsummaryrefslogtreecommitdiff
path: root/mod/thewire/index.php
diff options
context:
space:
mode:
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));