diff --git a/exchange.php b/exchange.php index 209887a..b529716 100644 --- a/exchange.php +++ b/exchange.php @@ -232,7 +232,7 @@ } if (!isset($_SESSION['rid'])) { - if (isset($oid) && !empty($oid) && preg_match('/tenant/', $restoretype)) { + if (isset($oid) && !empty($oid) && !preg_match('/tenant/', $restoretype)) { $users = $veeam->getLicensedUsers($oid); $repo = $veeam->getOrganizationRepository($oid); $usersarray = array(); diff --git a/onedrive.php b/onedrive.php index 7076449..53e33e2 100644 --- a/onedrive.php +++ b/onedrive.php @@ -199,7 +199,7 @@ getOrganizationByID($oid); } diff --git a/sharepoint.php b/sharepoint.php index cf4c80e..9a081f6 100644 --- a/sharepoint.php +++ b/sharepoint.php @@ -238,7 +238,7 @@ getOrganizationByID($oid); } diff --git a/teams.php b/teams.php index 3af0f80..7a69cbb 100644 --- a/teams.php +++ b/teams.php @@ -173,7 +173,7 @@ getOrganizationByID($oid); }