From 5893eaf6588ce7b6823fa78f54c0042983389162 Mon Sep 17 00:00:00 2001 From: marcus Date: Thu, 19 Jun 2008 11:08:20 +0000 Subject: Fixes #56 git-svn-id: https://code.elgg.org/elgg/trunk@991 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/profile/views/default/profile/userdetails.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mod/profile/views/default') diff --git a/mod/profile/views/default/profile/userdetails.php b/mod/profile/views/default/profile/userdetails.php index d3e41f32c..c3c6e9de5 100644 --- a/mod/profile/views/default/profile/userdetails.php +++ b/mod/profile/views/default/profile/userdetails.php @@ -82,6 +82,8 @@ // TODO: Add admin console options here if (isadminloggedin()) { + if ($_SESSION['id']!=$vars['entity']->guid) + { ?>

@@ -90,6 +92,7 @@