diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2016-09-08 16:15:02 +0300 |
---|---|---|
committer | Bjoern Schiessle <bjoern@schiessle.org> | 2016-09-08 16:15:02 +0300 |
commit | 815c594d3846d4636e8741bd7e45c0013a1b51d8 (patch) | |
tree | fd5b7a84ccd0ddbd9d2d41fa02ea42578604e1c7 /lib | |
parent | 1f3910a2ffd8797a2dad4ee9aeadc6048cc5afc6 (diff) |
use survey_client as reference, this app needs to be enabled if we receive the report
Diffstat (limited to 'lib')
-rw-r--r-- | lib/BackgroundJobs/ComputeStatistics.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/BackgroundJobs/ComputeStatistics.php b/lib/BackgroundJobs/ComputeStatistics.php index cfb16f4..6ec38a8 100644 --- a/lib/BackgroundJobs/ComputeStatistics.php +++ b/lib/BackgroundJobs/ComputeStatistics.php @@ -194,7 +194,7 @@ class ComputeStatistics extends TimedJob { } } - $max = $statistics['files']; + $max = $statistics['survey_client']; foreach ($statistics as $key => $value) { $statistics[$key] = 100/$max*$value; |