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:
authorStefan Giehl <stefan@piwik.org>2017-09-13 18:01:54 +0300
committerGitHub <noreply@github.com>2017-09-13 18:01:54 +0300
commitcde16c2fa849e1b54bbcb83096b608522ba26202 (patch)
treed3cd13b0ef940830eebf635f36f22745e7eb67f8 /plugins/Events
parent663ea209f253760359855dc77a348383406dcfbc (diff)
reuse event action methods in event columns (#12048)
Diffstat (limited to 'plugins/Events')
-rw-r--r--plugins/Events/Columns/EventAction.php2
-rw-r--r--plugins/Events/Columns/EventCategory.php2
-rw-r--r--plugins/Events/Columns/EventName.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Events/Columns/EventAction.php b/plugins/Events/Columns/EventAction.php
index 1e19061979..30c33fe8da 100644
--- a/plugins/Events/Columns/EventAction.php
+++ b/plugins/Events/Columns/EventAction.php
@@ -45,7 +45,7 @@ class EventAction extends ActionDimension
return false;
}
- $eventAction = $request->getParam('e_a');
+ $eventAction = $action->getEventAction();
$eventAction = trim($eventAction);
if (strlen($eventAction) > 0) {
diff --git a/plugins/Events/Columns/EventCategory.php b/plugins/Events/Columns/EventCategory.php
index f74f785a3c..731dd9615c 100644
--- a/plugins/Events/Columns/EventCategory.php
+++ b/plugins/Events/Columns/EventCategory.php
@@ -45,7 +45,7 @@ class EventCategory extends ActionDimension
return false;
}
- $eventCategory = $request->getParam('e_c');
+ $eventCategory = $action->getEventCategory();
$eventCategory = trim($eventCategory);
if (strlen($eventCategory) > 0) {
diff --git a/plugins/Events/Columns/EventName.php b/plugins/Events/Columns/EventName.php
index e672d316a3..bbe01ae0ff 100644
--- a/plugins/Events/Columns/EventName.php
+++ b/plugins/Events/Columns/EventName.php
@@ -43,7 +43,7 @@ class EventName extends ActionDimension
return false;
}
- $eventName = $request->getParam('e_n');
+ $eventName = $action->getEventName();
$eventName = trim($eventName);
if (strlen($eventName) > 0) {