We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30b630e commit 53f4234Copy full SHA for 53f4234
API.php
@@ -56,7 +56,7 @@ public function getTreemapData(
56
list($apiName, $apiAction) = explode('.', $apiMethod);
57
$disAllowedApiActions = ['getBulkRequest'];
58
// Block id API action does not start with get
59
- if (!in_array($apiAction, $disAllowedApiActions)|| stripos($apiAction, 'get') !== 0) {
+ if (!in_array($apiAction, $disAllowedApiActions) || stripos($apiAction, 'get') !== 0) {
60
throw new \Exception(Piwik::translate('TreemapVisualization_InvalidApiMethodException'));
61
}
62
0 commit comments