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
_______________________________________________
Phpcompta est un logiciel libre de comptabilité en ligne
(http://www.phpcompta.eu)
Phpcompta-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/phpcompta-dev