summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2014-01-28 11:05:51 +0100
committerAndrey Andreev <narf@devilix.net>2014-01-28 11:05:51 +0100
commitaa9a4f7e59143a3a187e415e646c966aaf786380 (patch)
tree277e3dd68b2915fa51716cbad94b1d3538f98881
parent505431ab4873e071ceabffdc1a8ce363c0c8dcbc (diff)
Fix #2844
-rw-r--r--system/libraries/Zip.php2
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);
}