summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics/api.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/statistics/api.inc.php')
-rw-r--r--modules-available/statistics/api.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/statistics/api.inc.php b/modules-available/statistics/api.inc.php
index bcc55944..497b1582 100644
--- a/modules-available/statistics/api.inc.php
+++ b/modules-available/statistics/api.inc.php
@@ -192,9 +192,9 @@ if ($type[0] === '~') {
}
// Add anything not present in $new from $old
$new += $old;
+ $new['oldlastboot'] = $old['lastboot'];
}
- $new['oldlastboot'] = $old['lastboot'];
unset($new['data']);
EventLog::applyFilterRules($type, $new);