diff options
author | Simon Rettberg | 2023-06-28 17:11:45 +0200 |
---|---|---|
committer | Simon Rettberg | 2023-06-28 17:11:45 +0200 |
commit | d8731b342797c779eeb56ddbfd51dc99ca4d0459 (patch) | |
tree | b26ea292a7312bfcd2e1830b62d2d1e0e805e170 | |
parent | [statistics_reporting] Fix phpstorm complaints (diff) | |
download | slx-admin-d8731b342797c779eeb56ddbfd51dc99ca4d0459.tar.gz slx-admin-d8731b342797c779eeb56ddbfd51dc99ca4d0459.tar.xz slx-admin-d8731b342797c779eeb56ddbfd51dc99ca4d0459.zip |
[statistics] Fix invalid array access
-rw-r--r-- | modules-available/statistics/api.inc.php | 2 |
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); |