diff --git a/admin/manage_users.php b/admin/manage_users.php index fc93703d..30818572 100644 --- a/admin/manage_users.php +++ b/admin/manage_users.php @@ -429,11 +429,14 @@ while ($myuser = hesk_dbFetchAssoc($res)) $autoassign_code = ''; } - /* Is the user active? */ - if ($myuser['active']) { - $activeMarkup = ''; - } else { - $activeMarkup = ''; + $activeMarkup = ''; + if ($myuser['id'] != $_SESSION['id']) { + /* Is the user active? */ + if ($myuser['active']) { + $activeMarkup = ''; + } else { + $activeMarkup = ''; + } } echo <<