diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-11-08 07:31:04 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-11-08 07:31:04 +0400 |
commit | 4995d1d2fc2b6b72a39cc88cfff9def70e400f23 (patch) | |
tree | e821d5217ce85f40b287eda526acc541cf010167 /core/ArchiveProcessor.php | |
parent | 9707e90cc5974250987d265b0e348d656b1f04c3 (diff) |
Fix one of two bugs
Diffstat (limited to 'core/ArchiveProcessor.php')
-rw-r--r-- | core/ArchiveProcessor.php | 3 |
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; } |