diff options
author | Silvio <s1lv10@uol.com.br> | 2010-08-11 17:49:20 -0300 |
---|---|---|
committer | Silvio <s1lv10@uol.com.br> | 2010-08-11 17:49:20 -0300 |
commit | 38f4cfb1cdbf7359bb6818167ac3d7ec0d3268f7 (patch) | |
tree | e714c96385ad687ac6fcd355eec98d0335d3a16f /lib/sfIsisImporterStats.class.php | |
parent | a22fa724cdb1dab396b43b2b1666bbef1f048baf (diff) | |
download | sf_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.php | 5 |
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]++; } |