Skip to content
Snippets Groups Projects
Commit 40c533ec authored by Jared Hancock's avatar Jared Hancock
Browse files

Merge pull request #751 from protich/issue/show-assigned-tickets


Allow regular staff members to show assigned open tickets on open queue

Reviewed-By: default avatarJared Hancock <jared@osticket.com>
parents a398c97f 1063a367
No related branches found
No related tags found
No related merge requests found
......@@ -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() {
......
......@@ -193,9 +193,6 @@ $info['id']=$staff->getId();
&nbsp;<span class="error">&nbsp;<?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.&nbsp;<span class="error">&nbsp;<?php echo $errors['passwd']; ?></span></em>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment