diff options
author | mattab <matthieu.aubry@gmail.com> | 2015-08-13 19:38:57 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2015-08-13 19:39:09 +0300 |
commit | 59bce9e787c45b28f48e413672e23cae541ed797 (patch) | |
tree | e4fca80e2a7bef6507459a07d2142f40769ca100 /plugins/ImageGraph | |
parent | 539a6195ce236ed6404a309116c844ec968d1758 (diff) |
Use !isset instead of empty, as we need to use zero vaues
Refs https://github.com/piwik/piwik/issues/7948
Refs https://github.com/piwik/piwik/commit/b45e693a0844149d115f402f474ca68336a6a89d#commitcomment-12663022
Diffstat (limited to 'plugins/ImageGraph')
-rw-r--r-- | plugins/ImageGraph/API.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ImageGraph/API.php b/plugins/ImageGraph/API.php index 7cca475463..4e7b466b21 100644 --- a/plugins/ImageGraph/API.php +++ b/plugins/ImageGraph/API.php @@ -429,7 +429,7 @@ class API extends \Piwik\Plugin\API $rowData = $rows[0]->getColumns(); // associative Array foreach ($ordinateColumns as $column) { - if(empty($rowData[$column])) { + if(!isset($rowData[$column])) { continue; } $ordinateValue = $rowData[$column]; |