diff --git a/include/ajax.reports.php b/include/ajax.reports.php
index 0ad0640a3d64270eda544011c2aa7ec28d101acb..bf86374055bd45b8e07a1860a157d77d3b53aa64 100644
--- a/include/ajax.reports.php
+++ b/include/ajax.reports.php
@@ -80,6 +80,8 @@ class OverviewReportAjaxAPI extends AjaxController {
                       (T1.staff_id='.db_input($thisstaff->getId())
                         .(($depts=$thisstaff->getManagedDepartments())?
                             (' OR T1.dept_id IN('.implode(',', db_input($depts)).')'):'')
+                        .(($thisstaff->canViewStaffStats())?
+                            (' OR T1.dept_id IN('.implode(',', db_input($thisstaff->getDepts())).')'):'')
                      .')'
                      ) 
             )