aboutsummaryrefslogtreecommitdiff
path: root/lib/sfIsisImporterStats.class.php
diff options
context:
space:
mode:
authorSilvio <s1lv10@uol.com.br>2010-08-11 17:49:20 -0300
committerSilvio <s1lv10@uol.com.br>2010-08-11 17:49:20 -0300
commit38f4cfb1cdbf7359bb6818167ac3d7ec0d3268f7 (patch)
treee714c96385ad687ac6fcd355eec98d0335d3a16f /lib/sfIsisImporterStats.class.php
parenta22fa724cdb1dab396b43b2b1666bbef1f048baf (diff)
downloadsf_isis_importer_plugin-38f4cfb1cdbf7359bb6818167ac3d7ec0d3268f7.tar.gz
sf_isis_importer_plugin-38f4cfb1cdbf7359bb6818167ac3d7ec0d3268f7.tar.bz2
Minor fixes
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]++;
}