summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-12-30 22:33:04 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-12-30 22:33:04 +0000
commit540ce2b461ee6cef5ff0c7b6dd9d768b1338c229 (patch)
tree27b196e6e094119b01a015685162f5af1b034368 /modules
parentf6cd923ed7099e50bcbb0006d38c3b4a39215cb7 (diff)
downloadbrdo-540ce2b461ee6cef5ff0c7b6dd9d768b1338c229.tar.gz
brdo-540ce2b461ee6cef5ff0c7b6dd9d768b1338c229.tar.bz2
#1006302 by aspilicious, bfroehle: Fixed can't install projects packed as zip in Update Manager.
Diffstat (limited to 'modules')
-rw-r--r--modules/system/system.archiver.inc7
1 files changed, 6 insertions, 1 deletions
diff --git a/modules/system/system.archiver.inc b/modules/system/system.archiver.inc
index cd9c9f48c..5a0972840 100644
--- a/modules/system/system.archiver.inc
+++ b/modules/system/system.archiver.inc
@@ -106,7 +106,12 @@ class ArchiverZip implements ArchiverInterface {
}
public function extract($path, Array $files = array()) {
- $this->zip->extractTo($path, $files);
+ if ($files) {
+ $this->zip->extractTo($path, $files);
+ }
+ else {
+ $this->zip->extractTo($path);
+ }
return $this;
}