diff options
Diffstat (limited to 'core/Tracker/GoalManager.php')
-rw-r--r-- | core/Tracker/GoalManager.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Tracker/GoalManager.php b/core/Tracker/GoalManager.php index 0d4bd2bfcb..913522696a 100644 --- a/core/Tracker/GoalManager.php +++ b/core/Tracker/GoalManager.php @@ -10,6 +10,7 @@ namespace Piwik\Tracker; use Exception; use Piwik\Common; +use Piwik\Date; use Piwik\Piwik; use Piwik\Plugin\Dimension\ConversionDimension; use Piwik\Plugin\Dimension\VisitDimension; @@ -837,7 +838,7 @@ class GoalManager $goal = array( 'idvisit' => $visitorInformation['idvisit'], 'idvisitor' => $visitorInformation['idvisitor'], - 'server_time' => Tracker::getDatetimeFromTimestamp($visitorInformation['visit_last_action_time']) + 'server_time' => Date::getDatetimeFromTimestamp($visitorInformation['visit_last_action_time']) ); $visitDimensions = VisitDimension::getAllDimensions(); |