aboutsummaryrefslogtreecommitdiff
path: root/views/default/page_elements/title.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/page_elements/title.php')
-rw-r--r--views/default/page_elements/title.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/page_elements/title.php b/views/default/page_elements/title.php
index fcce14568..ed9dc8bda 100644
--- a/views/default/page_elements/title.php
+++ b/views/default/page_elements/title.php
@@ -19,7 +19,7 @@
$submenu = get_submenu(); // elgg_view('canvas_header/submenu');
if (!empty($submenu)) $submenu = "<ul>" . $submenu . "</ul>";
- if (($_SESSION['user']) && ($page_owner && $page_owner_user->guid != $_SESSION['user']->getGUID())) {
+ if (($_SESSION['guid']) && ($page_owner && $page_owner_user->guid != $_SESSION['user']->getGUID())) {
$info = "<h2>" . $vars['title'] . "</h2>";
if($page_owner_user instanceOf ElggGroup) {
$display = "<div id=\"content_area_group_title\">" . $info . "</div>";