summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e6f7378)
raw | patch | inline | side by side (parent: e6f7378)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 19 Aug 2010 15:11:47 +0000 (15:11 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 19 Aug 2010 15:11:47 +0000 (15:11 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19414 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/generic/statistics/class_statistics.inc | patch | blob | history |
diff --git a/gosa-core/plugins/generic/statistics/class_statistics.inc b/gosa-core/plugins/generic/statistics/class_statistics.inc
index 231db0e8e0ac621ef542eed70ee35b55a70a2f54..4f834d3fe493ca2bd84583cf81c563cedf6a9b97 100644 (file)
{
$available = $this->getLocalStatisticsFiles();
$alreadyTransmitted = $this->getStatisticsDatesFromServer();
- $unsubmitted = array_intersect($available,$alreadyTransmitted);
+
+ $unsubmitted = array();
+ foreach($available as $key => $day){
+ if(!isset($alreadyTransmitted[$key])) $unsubmitted [$key] = $day;
+ }
// Exclude statistic collection from today, they are still active and cannot be submitted.
$curDate = date('Y-m-d');