Skip to content

Commit

Permalink
feat: more anonymising options
Browse files Browse the repository at this point in the history
  • Loading branch information
Rom1-B committed Jan 31, 2023
1 parent d32bc55 commit a49ff29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/issue.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -493,10 +493,10 @@ public function rawSearchOptions() {
$hide_technician = false;
$hide_technician_group = false;
if (!Session::isCron()) {
if (is_empty(User::getAnonymizedName(Session::getActiveEntity()))) {
if (empty(User::getAnonymizedName(Session::getActiveEntity()))) {
$hide_technician = true;
}
if (is_empty(Group::getAnonymizedName(Session::getActiveEntity()))) {
if (empty(Group::getAnonymizedName(Session::getActiveEntity()))) {
$hide_technician_group = true;
}
}
Expand Down

0 comments on commit a49ff29

Please sign in to comment.