Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordiosmosis <benaka@piwik.pro>2015-09-11 06:20:52 +0300
committerdiosmosis <benaka@piwik.pro>2015-09-15 02:39:40 +0300
commitbcdc92a68ee22daab7193fe13e8880b9f263ca84 (patch)
tree79fc9a759d9930485cb5bdaecd00169893c21388 /plugins/API
parent936d3b89074c5efc227e6ec11c1988502d7ac99f (diff)
Fix regression in last commit.
Diffstat (limited to 'plugins/API')
-rw-r--r--plugins/API/API.php10
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']);
+ }
}
}