diff options
author | diosmosis <benaka@piwik.pro> | 2015-09-25 06:39:24 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-09-25 06:39:24 +0300 |
commit | dae25c25e2eb16bd61d6ebe662dfbf88903a994a (patch) | |
tree | 37d6a536c5de30a87a743abe85c946c2ba8d4056 /plugins/SitesManager | |
parent | 5653e34a453d3e66264f5487600c0fd3756fb50a (diff) |
Fixing failing system test (EcommerceOrderWithItemsTest).
Diffstat (limited to 'plugins/SitesManager')
-rw-r--r-- | plugins/SitesManager/Tracker/SitesManagerRequestProcessor.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SitesManager/Tracker/SitesManagerRequestProcessor.php b/plugins/SitesManager/Tracker/SitesManagerRequestProcessor.php index 59357e0195..cb2b3f7f9d 100644 --- a/plugins/SitesManager/Tracker/SitesManagerRequestProcessor.php +++ b/plugins/SitesManager/Tracker/SitesManagerRequestProcessor.php @@ -42,7 +42,7 @@ class SitesManagerRequestProcessor extends RequestProcessor $idSite = $request->getIdSite(); $createdTimeTimestamp = $this->getSiteCreatedTime($idSite); - $requestTimestamp = Date::factory($request->getCurrentTimestamp()); + $requestTimestamp = Date::factory((int) $request->getCurrentTimestamp()); // replicating old Piwik logic, see: // https://github.com/piwik/piwik/blob/baa6da86266c7c44bc2d65821c7ffe042c2f4716/core/Archive/ArchiveInvalidator.php#L150 |