aboutsummaryrefslogtreecommitdiff
path: root/lib/sfIsisImporterStats.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sfIsisImporterStats.class.php')
-rw-r--r--lib/sfIsisImporterStats.class.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/sfIsisImporterStats.class.php b/lib/sfIsisImporterStats.class.php
index 54789ab..db5c316 100644
--- a/lib/sfIsisImporterStats.class.php
+++ b/lib/sfIsisImporterStats.class.php
@@ -37,6 +37,11 @@ class sfIsisImporterStats
*/
public function increase($section)
{
+ if (!isset($this->stats[$section]))
+ {
+ $this->stats[$section] = 0;
+ }
+
$this->stats[$section]++;
}