From 38f4cfb1cdbf7359bb6818167ac3d7ec0d3268f7 Mon Sep 17 00:00:00 2001 From: Silvio Date: Wed, 11 Aug 2010 17:49:20 -0300 Subject: Minor fixes --- lib/sfIsisImporterStats.class.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/sfIsisImporterStats.class.php') 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]++; } -- cgit v1.2.3