diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-12-07 23:08:10 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-12-07 23:08:10 +0300 |
commit | 92a56166c351486bf26e4c3d3247eadfc8d301fa (patch) | |
tree | b7b0884cb84b7f3bb1fea5d896d929aa6c10cf25 /plugins | |
parent | c21d46f791c5eb7a68ebd8fc8c982786f3005cea (diff) |
fixes #6819
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Live/Controller.php | 2 | ||||
-rw-r--r-- | plugins/Live/templates/getVisitorProfilePopup.twig | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Live/Controller.php b/plugins/Live/Controller.php index 82dccb92bc..421a0afb62 100644 --- a/plugins/Live/Controller.php +++ b/plugins/Live/Controller.php @@ -145,7 +145,7 @@ class Controller extends \Piwik\Plugin\Controller $startCounter = Common::getRequestVar('filter_offset', 0, 'int'); $nextVisits = Request::processRequest('Live.getLastVisitsDetails', array( 'segment' => self::getSegmentWithVisitorId(), - 'filter_limit' => API::VISITOR_PROFILE_MAX_VISITS_TO_SHOW, + 'filter_limit' => VisitorProfile::VISITOR_PROFILE_MAX_VISITS_TO_SHOW, 'filter_offset' => $startCounter, 'period' => false, 'date' => false diff --git a/plugins/Live/templates/getVisitorProfilePopup.twig b/plugins/Live/templates/getVisitorProfilePopup.twig index afb9551321..c33f2d2181 100644 --- a/plugins/Live/templates/getVisitorProfilePopup.twig +++ b/plugins/Live/templates/getVisitorProfilePopup.twig @@ -141,7 +141,7 @@ </ol> </div> <div class="visitor-profile-more-info"> - {% if visitorData.lastVisits.getRowsCount() >= constant("Piwik\\Plugins\\Live\\API::VISITOR_PROFILE_MAX_VISITS_TO_SHOW") %} + {% if visitorData.lastVisits.getRowsCount() >= constant("Piwik\\Plugins\\Live\\VisitorProfile::VISITOR_PROFILE_MAX_VISITS_TO_SHOW") %} <a href="#">{{ 'Live_LoadMoreVisits'|translate }}</a> <img class="loadingPiwik" style="display:none;" src="plugins/Morpheus/images/loading-blue.gif"/> {% else %} <span class="visitor-profile-no-visits">{{ 'Live_NoMoreVisits'|translate }}</span> |