summaryrefslogtreecommitdiff
path: root/inc/ZipLib.class.php
diff options
context:
space:
mode:
authorGerrit Uitslag <klapinklapin@gmail.com>2014-10-02 14:55:24 +0200
committerGerrit Uitslag <klapinklapin@gmail.com>2014-10-02 14:55:24 +0200
commit7e8500eea1e53b1de0e0f70400664afa442cd08d (patch)
tree4dd246a9b26f930fc7cbfef76116320dcbe77aaf /inc/ZipLib.class.php
parente3710957c6b7e12293805a15d0624be7c7054092 (diff)
downloadrpg-7e8500eea1e53b1de0e0f70400664afa442cd08d.tar.gz
rpg-7e8500eea1e53b1de0e0f70400664afa442cd08d.tar.bz2
PHPDocs and some improvements
Diffstat (limited to 'inc/ZipLib.class.php')
-rw-r--r--inc/ZipLib.class.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/ZipLib.class.php b/inc/ZipLib.class.php
index 0b7bfa05e..5b524c4ab 100644
--- a/inc/ZipLib.class.php
+++ b/inc/ZipLib.class.php
@@ -142,10 +142,10 @@ class ZipLib {
*
* @param string $data
* @param string $name filename
- * @param int $compact
+ * @param bool $compact
* @return bool
*/
- function add_File($data, $name, $compact = 1) {
+ function add_File($data, $name, $compact = true) {
$name = str_replace('\\', '/', $name);
$dtime = dechex($this->DosTime());