X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/b134135b685422ddcdc2d6856972c60ea15f661f..5e861d92d6d758ba4888e35109cc6df4ab5e2df1:/reports.php diff --git a/reports.php b/reports.php index 31028f2f..6a0687e6 100644 --- a/reports.php +++ b/reports.php @@ -149,7 +149,7 @@ if ($user->can('view_reports') || $user->can('view_all_reports') || $user->isCli // Prepare user and assigned projects arrays. if ($user->can('view_reports') || $user->can('view_all_reports')) { $max_rank = $user->rank-1; - if ($user->can('view_all_reports')) $max_rank = 512; + if ($user->can('view_all_reports')) $max_rank = MAX_RANK; if ($user->can('view_own_reports')) $options = array('max_rank'=>$max_rank,'include_self'=>true); else