diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-20 11:10:20 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-20 11:10:20 +0000 |
commit | 806795fa390753539dbb02c490dcd94c2c7610d8 (patch) | |
tree | 91e790bbccfce6a423a4ec977ae7a4a8115e4f6d /views/default | |
parent | fe1b0d56d4515ede1a3128c649c487b15fb6ffa4 (diff) | |
download | elgg-806795fa390753539dbb02c490dcd94c2c7610d8.tar.gz elgg-806795fa390753539dbb02c490dcd94c2c7610d8.tar.bz2 |
Removed unnecessary owner blocks.
git-svn-id: https://code.elgg.org/elgg/trunk@2844 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default')
-rw-r--r-- | views/default/page_elements/owner_block.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/page_elements/owner_block.php b/views/default/page_elements/owner_block.php index 6544e8aee..20fd96d02 100644 --- a/views/default/page_elements/owner_block.php +++ b/views/default/page_elements/owner_block.php @@ -17,8 +17,8 @@ // Is there a page owner?
$owner = page_owner_entity();
- if (!$owner && isloggedin()) $owner = $_SESSION['user'];
- if ($owner) {
+ // if (!$owner && isloggedin()) $owner = $_SESSION['user'];
+ if ($owner instanceof ElggEntity) {
$icon = elgg_view("profile/icon",array('entity' => $owner, 'size' => 'tiny'));
if ($owner instanceof ElggUser || $owner instanceof ElggGroup) {
//$info = $owner->name;
|