]> wagnertech.de Git - timetracker.git/blobdiff - mobile/user_edit.php
Improved getUserDetails to not return info for deleted users.
[timetracker.git] / mobile / user_edit.php
index 285c3442b30cb6bd43fcb001af2872378c68f379..49781226175593655bbef6229f64fa66ba5c36f1 100644 (file)
@@ -47,7 +47,6 @@ $user_details = ttUserHelper::getUserDetails($user_id);
 
 // Security checks.
 if (!$user_details || // No details.
-     $user_details['team_id'] <> $user->team_id || // User not in team.
      $user_details['rank'] > $user->rank || // User has a bigger rank.
      ($user_details['rank'] == $user->rank && $user_details['id'] <> $user->id) // Same rank but not us.
    ) {