diff --git a/include/staff/ticket-open.inc.php b/include/staff/ticket-open.inc.php index 0220009eb59b748b710255b6536ef7d87dd50293..16fc4fe77f9d6b63fb5e82a18700d126eda3c719 100644 --- a/include/staff/ticket-open.inc.php +++ b/include/staff/ticket-open.inc.php @@ -239,7 +239,7 @@ if ($_POST) </tr> <?php - if($thisstaff->hasPerm(TicketModel::PERM_ASSIGN)) { ?> + if($thisstaff->hasPerm(TicketModel::PERM_ASSIGN, false)) { ?> <tr> <td width="160"><?php echo __('Assign To');?>:</td> <td> @@ -336,7 +336,7 @@ print $response_form->getField('attachments')->render(); <?php $statusId = $info['statusId'] ?: $cfg->getDefaultTicketStatusId(); $states = array('open'); - if ($thisstaff->hasPerm(TicketModel::PERM_CLOSE)) + if ($thisstaff->hasPerm(TicketModel::PERM_CLOSE, false)) $states = array_merge($states, array('closed')); foreach (TicketStatusList::getStatuses( array('states' => $states)) as $s) {