diff options
author | diosmosis <benaka@piwik.pro> | 2015-09-11 06:20:52 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-09-15 02:39:40 +0300 |
commit | bcdc92a68ee22daab7193fe13e8880b9f263ca84 (patch) | |
tree | 79fc9a759d9930485cb5bdaecd00169893c21388 /plugins/API | |
parent | 936d3b89074c5efc227e6ec11c1988502d7ac99f (diff) |
Fix regression in last commit.
Diffstat (limited to 'plugins/API')
-rw-r--r-- | plugins/API/API.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/API/API.php b/plugins/API/API.php index ff6690fdf2..fb1e5ae669 100644 --- a/plugins/API/API.php +++ b/plugins/API/API.php @@ -189,12 +189,12 @@ class API extends \Piwik\Plugin\API unset($segment['sqlFilter']); unset($segment['sqlFilterValue']); unset($segment['sqlSegment']); - } - if (isset($segment['suggestedValuesCallback']) - && !is_string($segment['suggestedValuesCallback']) - ) { - unset($segment['suggestedValuesCallback']); + if (isset($segment['suggestedValuesCallback']) + && !is_string($segment['suggestedValuesCallback']) + ) { + unset($segment['suggestedValuesCallback']); + } } } |