diff --git a/include/class.staff.php b/include/class.staff.php index 819c68d2814dc4c834255d891dd765d361ddbffd..ed6a0ae1da7167f2b9b37a6d1031d80051a35ef1 100644 --- a/include/class.staff.php +++ b/include/class.staff.php @@ -396,8 +396,7 @@ class Staff extends AuthenticatedUser { } function showAssignedTickets() { - return ($this->ht['show_assigned_tickets'] - && ($this->isAdmin() || $this->isManager())); + return ($this->ht['show_assigned_tickets']); } function getTeams() { diff --git a/include/staff/profile.inc.php b/include/staff/profile.inc.php index 116a39eab0617425965850687298f47999bfb77d..5c73661a5cef1acd3c9ae0751e034b02f2ba8335 100644 --- a/include/staff/profile.inc.php +++ b/include/staff/profile.inc.php @@ -193,9 +193,6 @@ $info['id']=$staff->getId(); <span class="error"> <?php echo $errors['default_paper_size']; ?></span> </td> </tr> - <?php - //Show an option to show assigned tickets to admins & managers. - if($staff->isAdmin() || $staff->isManager()){ ?> <tr> <td>Show Assigned Tickets:</td> <td> @@ -203,7 +200,6 @@ $info['id']=$staff->getId(); <em>Show assigned tickets on open queue.</em> </td> </tr> - <?php } ?> <tr> <th colspan="2"> <em><strong>Password</strong>: To reset your password, provide your current password and a new password below. <span class="error"> <?php echo $errors['passwd']; ?></span></em>