summaryrefslogtreecommitdiffstatshomepage
path: root/templates/profile.tpl.php
diff options
context:
space:
mode:
authorGravatar mensonge2009-02-10 11:40:07 +0000
committerGravatar mensonge2009-02-10 11:40:07 +0000
commit834b3aedb86bf5a7f76e01646201c495a9da8faf (patch)
tree6f5d653373335e2ef3a066b3d0c1530cbde58e72 /templates/profile.tpl.php
parentf39821d848d9b788d5591fdd33dfddcc2fb9a652 (diff)
downloadscuttle-834b3aedb86bf5a7f76e01646201c495a9da8faf.tar.gz
scuttle-834b3aedb86bf5a7f76e01646201c495a9da8faf.zip
Minor fix: translations, improve watchlist, improve search behaviour...
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@266 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'templates/profile.tpl.php')
-rw-r--r--templates/profile.tpl.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/profile.tpl.php b/templates/profile.tpl.php
index dda9c80..1e2003a 100644
--- a/templates/profile.tpl.php
+++ b/templates/profile.tpl.php
@@ -6,7 +6,7 @@ $this->includeTemplate($GLOBALS['top_include']);
<dt><?php echo T_('Username'); ?></dt>
<dd><?php echo $user; ?></dd>
<?php
-if ($currentUser->isAdmin()) {
+if ($userservice->isLoggedOn() && $currentUser->isAdmin()) {
?>
<dt><?php echo T_('Email'); ?></dt>
<dd><?php echo filter($objectUser->getEmail()) ?></dd>