From 4995d1d2fc2b6b72a39cc88cfff9def70e400f23 Mon Sep 17 00:00:00 2001 From: mattab Date: Fri, 8 Nov 2013 16:31:04 +1300 Subject: Fix one of two bugs --- core/ArchiveProcessor.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'core/ArchiveProcessor.php') 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; } -- cgit v1.2.3