Skip to content

Commit

Permalink
Add missing return in the "extract()"
Browse files Browse the repository at this point in the history
This apply the fix reported in the issue
joomla#1437 (comment)
  • Loading branch information
jms2win committed Aug 14, 2012
1 parent d8694d9 commit e8145d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/joomla/archive/zip.php
Expand Up @@ -139,11 +139,11 @@ public function extract($archive, $destination, array $options = array())

if ($this->hasNativeSupport())
{
$this->_extractNative($archive, $destination, $options);
return $this->_extractNative($archive, $destination, $options);
}
else
{
$this->_extract($archive, $destination, $options);
return $this->_extract($archive, $destination, $options);
}
}

Expand Down

0 comments on commit e8145d2

Please sign in to comment.