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:
Diffstat (limited to 'modules/LogStats/Visit.php')
-rw-r--r--modules/LogStats/Visit.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/LogStats/Visit.php b/modules/LogStats/Visit.php
index 2b801ebb82..d42faee6d4 100644
--- a/modules/LogStats/Visit.php
+++ b/modules/LogStats/Visit.php
@@ -398,8 +398,9 @@ class Piwik_LogStats_Visit
$localTime = Piwik_Common::getRequestVar( 'h', $this->getCurrentDate("H"), 'numeric')
.':'. Piwik_Common::getRequestVar( 'm', $this->getCurrentDate("i"), 'numeric')
.':'. Piwik_Common::getRequestVar( 's', $this->getCurrentDate("s"), 'numeric');
- $serverDate = $this->getCurrentDate();
- $serverTime = $this->getCurrentTimestamp();
+
+ $serverTime = $this->getCurrentTimestamp();
+ $serverDate = $this->getCurrentDate();
if($this->isVisitorKnown())
{