diff options
author | Gerrit Uitslag <klapinklapin@gmail.com> | 2014-10-02 14:55:24 +0200 |
---|---|---|
committer | Gerrit Uitslag <klapinklapin@gmail.com> | 2014-10-02 14:55:24 +0200 |
commit | 7e8500eea1e53b1de0e0f70400664afa442cd08d (patch) | |
tree | 4dd246a9b26f930fc7cbfef76116320dcbe77aaf /inc/ZipLib.class.php | |
parent | e3710957c6b7e12293805a15d0624be7c7054092 (diff) | |
download | rpg-7e8500eea1e53b1de0e0f70400664afa442cd08d.tar.gz rpg-7e8500eea1e53b1de0e0f70400664afa442cd08d.tar.bz2 |
PHPDocs and some improvements
Diffstat (limited to 'inc/ZipLib.class.php')
-rw-r--r-- | inc/ZipLib.class.php | 4 |
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()); |