diff options
author | Simon Rettberg | 2019-02-21 11:09:17 +0100 |
---|---|---|
committer | Simon Rettberg | 2019-02-21 11:09:17 +0100 |
commit | 67c915aa7094a32b0dfdd4ef60382bb1d3eeb506 (patch) | |
tree | 89e1222a4bd6ed6076e739e151b3af5a80c4aff8 /modules-available/statistics/inc | |
parent | AAAAAnd I'm retarded (diff) | |
download | slx-admin-67c915aa7094a32b0dfdd4ef60382bb1d3eeb506.tar.gz slx-admin-67c915aa7094a32b0dfdd4ef60382bb1d3eeb506.tar.xz slx-admin-67c915aa7094a32b0dfdd4ef60382bb1d3eeb506.zip |
Fix UUID handling; refactor constraints for machineuuid
Diffstat (limited to 'modules-available/statistics/inc')
-rw-r--r-- | modules-available/statistics/inc/parser.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/statistics/inc/parser.inc.php b/modules-available/statistics/inc/parser.inc.php index 0d39079d..8ac3fcf3 100644 --- a/modules-available/statistics/inc/parser.inc.php +++ b/modules-available/statistics/inc/parser.inc.php @@ -90,7 +90,7 @@ class Parser { } } if (empty($row['ramslotcount'])) { - $row['ramslotcount'] = count($row['ramslot']); + $row['ramslotcount'] = isset($row['ramslot']) ? count($row['ramslot']) : 0; } } |