aboutsummaryrefslogtreecommitdiff
path: root/views/default/page_elements
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-08 15:09:47 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-08 15:09:47 +0000
commit82979412639028b225dd1f78dd277c2c9a8c5a7a (patch)
tree84f74465124813627d62cee1e0d8cf1b75485181 /views/default/page_elements
parent0213304cc1058af92336c502a38e231a8947b0ff (diff)
downloadelgg-82979412639028b225dd1f78dd277c2c9a8c5a7a.tar.gz
elgg-82979412639028b225dd1f78dd277c2c9a8c5a7a.tar.bz2
The title no longer causes a WSOD
git-svn-id: https://code.elgg.org/elgg/trunk@1801 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/page_elements')
-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>";