From 540ce2b461ee6cef5ff0c7b6dd9d768b1338c229 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Thu, 30 Dec 2010 22:33:04 +0000 Subject: #1006302 by aspilicious, bfroehle: Fixed can't install projects packed as zip in Update Manager. --- modules/system/system.archiver.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'modules') 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; } -- cgit v1.2.3