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:
authormatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-05-01 11:27:19 +0400
committermatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-05-01 11:27:19 +0400
commit92da6b8181282800f4f28cae77d776b67540b477 (patch)
treea6e07ae46cbfa0b7a969392d00107b74c9f807e4 /plugins/Actions
parent9722d2680762026150bcbc3c96265bbc09802006 (diff)
- Introducing the new "ExampleUI" plugin which shows how to plot data easily in Piwik, reusing the existing framework (evolution graph, pie chart, bar graph, sparklines, tag clouds, tables, and more!)
Diffstat (limited to 'plugins/Actions')
-rw-r--r--plugins/Actions/Controller.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/Actions/Controller.php b/plugins/Actions/Controller.php
index 3f5e1a945e..b3b7e13d42 100644
--- a/plugins/Actions/Controller.php
+++ b/plugins/Actions/Controller.php
@@ -117,6 +117,7 @@ class Piwik_Actions_Controller extends Piwik_Controller
// computing minimum value to exclude
require_once "VisitsSummary/Controller.php";
$visitsInfo = Piwik_VisitsSummary_Controller::getVisitsSummary();
+ $visitsInfo = $visitsInfo->getFirstRow();
$nbActions = $visitsInfo->getColumn('nb_actions');
$nbActionsLowPopulationThreshold = floor(0.02 * $nbActions); // 2 percent of the total number of actions
// we remove 1 to make sure some actions/downloads are displayed in the case we have a very few of them