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:
authormattab <matthieu.aubry@gmail.com>2013-11-08 07:31:04 +0400
committermattab <matthieu.aubry@gmail.com>2013-11-08 07:31:04 +0400
commit4995d1d2fc2b6b72a39cc88cfff9def70e400f23 (patch)
treee821d5217ce85f40b287eda526acc541cf010167 /core/ArchiveProcessor.php
parent9707e90cc5974250987d265b0e348d656b1f04c3 (diff)
Fix one of two bugs
Diffstat (limited to 'core/ArchiveProcessor.php')
-rw-r--r--core/ArchiveProcessor.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/ArchiveProcessor.php b/core/ArchiveProcessor.php
index d21a2d6a88..a343078fdb 100644
--- a/core/ArchiveProcessor.php
+++ b/core/ArchiveProcessor.php
@@ -247,6 +247,9 @@ class ArchiveProcessor
public function getNumberOfVisits()
{
+ if($this->numberOfVisits === false) {
+ throw new Exception("visits should have been set here");
+ }
return $this->numberOfVisits;
}