summaryrefslogtreecommitdiff
path: root/admin_users.php
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2011-02-10 07:53:05 +0000
committerfisharebest <fisharebest@gmail.com>2011-02-10 07:53:05 +0000
commit29fa3fd00e4ced5ab4c1aa8f73b2d6bd20f98cb6 (patch)
treeefb77eab714f360481a92d649bae4e92e908eb8f /admin_users.php
parent9d2ba2690930a0f1bdffbea5b7d3e3cd3dd33a24 (diff)
downloadwebtrees-29fa3fd00e4ced5ab4c1aa8f73b2d6bd20f98cb6.tar.gz
webtrees-29fa3fd00e4ced5ab4c1aa8f73b2d6bd20f98cb6.tar.bz2
webtrees-29fa3fd00e4ced5ab4c1aa8f73b2d6bd20f98cb6.zip
user list - do not send email to ourself
Diffstat (limited to 'admin_users.php')
-rw-r--r--admin_users.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/admin_users.php b/admin_users.php
index c85fbee632..a90f305900 100644
--- a/admin_users.php
+++ b/admin_users.php
@@ -161,7 +161,9 @@ case 'loadrows':
$aData[3]=edit_field_inline('user-real_name-'.$user_id, $aData[3]);
$aData[4]=edit_field_inline('user-email-'. $user_id, $aData[4]);
// $aData[5] is a link to an email icon
- $aData[5]='<div class="icon-email" onclick="return message(\''.$user_name.'\');"></div>';
+ if ($user_id != WT_USER_ID) {
+ $aData[5]='<div class="icon-email" onclick="return message(\''.$user_name.'\');"></div>';
+ }
$aData[6]=edit_field_language_inline('user_setting-langugage-'.$user_id, $aData[6]);
// $aData[7] is the sortable registration timestamp
$aData[8]=format_timestamp($aData[8]);