diff options
author | Andrey Andreev <narf@devilix.net> | 2014-01-28 11:05:51 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2014-01-28 11:05:51 +0100 |
commit | aa9a4f7e59143a3a187e415e646c966aaf786380 (patch) | |
tree | 277e3dd68b2915fa51716cbad94b1d3538f98881 /system | |
parent | 505431ab4873e071ceabffdc1a8ce363c0c8dcbc (diff) |
Fix #2844
Diffstat (limited to 'system')
-rw-r--r-- | system/libraries/Zip.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Zip.php b/system/libraries/Zip.php index b10b0bb0f..58f06455c 100644 --- a/system/libraries/Zip.php +++ b/system/libraries/Zip.php @@ -294,7 +294,7 @@ class CI_Zip { { $name = str_replace('\\', '/', $path); - if ($preserve_filepath === FALSE) + if ($archive_filepath === FALSE) { $name = preg_replace('|.*/(.+)|', '\\1', $name); } |