phpcompta-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpcompta-dev] r5591 - phpcompta/trunk/include


From: phpcompta-dev
Subject: [Phpcompta-dev] r5591 - phpcompta/trunk/include
Date: Wed, 11 Dec 2013 17:11:20 +0100 (CET)

Author: danydb
Date: 2013-12-11 17:11:19 +0100 (Wed, 11 Dec 2013)
New Revision: 5591

Modified:
   phpcompta/trunk/include/class_zip_extended.php
Log:
Fix bug in ZIP creator

Modified: phpcompta/trunk/include/class_zip_extended.php
===================================================================
--- phpcompta/trunk/include/class_zip_extended.php      2013-12-09 20:08:19 UTC 
(rev 5590)
+++ phpcompta/trunk/include/class_zip_extended.php      2013-12-11 16:11:19 UTC 
(rev 5591)
@@ -57,11 +57,11 @@
                  {
                    // Add the files
                    $this->addFile($dir . $file, $zipdir . $file);
-                   $filecnt +=1;
+                   $filenct +=1;
                  }
              }
            //Add the directory when folder was empty
-           if( (!empty($zipdir)) && ($filecnt==0)) 
+           if( (!empty($zipdir)) && ($filenct==0)) 
              {
                // remove directory separator before addEmptyDir      
                // otherwhisen create double folder in zip



---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu



reply via email to

[Prev in Thread] Current Thread [Next in Thread]