We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5246bf8 + 956aa53 commit 32153d0Copy full SHA for 32153d0
include/class.zipfile.php
@@ -180,7 +180,7 @@ function forceDownload($archiveName) {
180
* @param multi-d array $package
181
* @param array $paths
182
*/
183
- function addPOGPackage($package, $paths=array())
+ function addPOGPackage($package, &$paths=array())
184
{
185
186
$i = 0;
@@ -195,7 +195,7 @@ function addPOGPackage($package, $paths=array())
195
196
$paths[] = $key;
197
$this->addDirectory((($path == '') ? "$key/" : "$path/$key/"));
198
- $this->addPOGPackage($package[$key], &$paths);
+ $this->addPOGPackage($package[$key], $paths);
199
}
200
else
201
@@ -209,4 +209,4 @@ function addPOGPackage($package, $paths=array())
209
210
211
212
-?>
+?>
0 commit comments