diff options
-rw-r--r-- | ext/phar/package.php | 1 | ||||
-rwxr-xr-x | ext/phar/phar/pharcommand.inc | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/ext/phar/package.php b/ext/phar/package.php index 69672f92c8..1acd2ae838 100644 --- a/ext/phar/package.php +++ b/ext/phar/package.php @@ -7,6 +7,7 @@ $notes = ' windows path separators (on windows only) * fix Bug #11950: make pharcmd use installed phar.so, not build one [remicollet] * fix Bug #12492: filenew incorrectly creates file path [urkle] + * fix Bug #12493: extract throws an error and won\'t open the file [urkle] '; if (!class_exists("Phar") && !extension_loaded("Phar")) { diff --git a/ext/phar/phar/pharcommand.inc b/ext/phar/phar/pharcommand.inc index 5787845320..8fc50667b4 100755 --- a/ext/phar/phar/pharcommand.inc +++ b/ext/phar/phar/pharcommand.inc @@ -746,7 +746,7 @@ class PharCommand extends CLICommand } } - $phar = $args['f']['val']; + $phar = $this->args['f']['val']; $base = $phar->getPathname(); $bend = strpos($base, '.phar'); $bend = strpos($base, '/', $bend); |