Skip to content
Snippets Groups Projects
Commit 29e22268 authored by Peter Rotich's avatar Peter Rotich
Browse files

Merge pull request #2358 from greezybacon/issue/2348


agent: Add missing perm for view all agents' stats

Reviewed-By: default avatarPeter Rotich <peter@osticket.com>
parents 76c4b4d4 e4cf0ae8
Branches
Tags
No related merge requests found
......@@ -15,6 +15,9 @@
**********************************************************************/
require('admin.inc.php');
// Included here for role permission registration
require_once INCLUDE_DIR . 'class.report.php';
$staff=null;
if($_REQUEST['id'] && !($staff=Staff::lookup($_REQUEST['id'])))
$errors['err']=sprintf(__('%s: Unknown or invalid ID.'), __('agent'));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment