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:
authormattab <matthieu.aubry@gmail.com>2015-12-04 02:16:24 +0300
committermattab <matthieu.aubry@gmail.com>2015-12-04 02:16:24 +0300
commit8d1502aa42dfc288705a4a002292139bcae07516 (patch)
tree31fa81adaa733da571288b4c340673eb77f78a54 /plugins
parent233c20b20e16d4a58e7bd1157d4a845649ba4f94 (diff)
we are now using type 10 in log_action when request was an event.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Live/Visitor.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Live/Visitor.php b/plugins/Live/Visitor.php
index 2d3b0c54f3..fa7be4dd63 100644
--- a/plugins/Live/Visitor.php
+++ b/plugins/Live/Visitor.php
@@ -301,7 +301,7 @@ class Visitor implements VisitorInterface
}
// Event value / Generation time
- if ($actionDetail['type'] == Action::TYPE_EVENT_CATEGORY) {
+ if ($actionDetail['type'] == Action::TYPE_EVENT) {
if (strlen($actionDetail['custom_float']) > 0) {
$actionDetail['eventValue'] = round($actionDetail['custom_float'], self::EVENT_VALUE_PRECISION);
}
@@ -310,7 +310,7 @@ class Visitor implements VisitorInterface
}
unset($actionDetail['custom_float']);
- if ($actionDetail['type'] != Action::TYPE_EVENT_CATEGORY) {
+ if ($actionDetail['type'] != Action::TYPE_EVENT) {
unset($actionDetail['eventCategory']);
unset($actionDetail['eventAction']);
}
@@ -423,7 +423,7 @@ class Visitor implements VisitorInterface
$details['type'] = 'search';
$details['icon'] = 'plugins/Morpheus/images/search_ico.png';
break;
- case Action::TYPE_EVENT_CATEGORY:
+ case Action::TYPE_EVENT:
$details['type'] = 'event';
$details['icon'] = 'plugins/Morpheus/images/event.png';
break;