A bug was just discovered in version 1.6.2 of iDesk
This bug fixes an issue where users are able to see all departments, even if some are marked as hidden.
In the file ticket_new.php on line 153 find
if ($group_id == 3)
$dept_options = $app->GetCustDepartmentOptions();
else
$dept_options = $app->GetDepartmentOptions();
Replace with
if (($group_id == 1)&&($group_id == 2))
$dept_options = $app->GetDepartmentOptions();
else
$dept_options = $app->GetCustDepartmentOptions();


